aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/utils_base.c1
-rw-r--r--plugins/common.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c
index c93e9c3c..8685e6fe 100644
--- a/lib/utils_base.c
+++ b/lib/utils_base.c
@@ -28,6 +28,7 @@
#include <stdarg.h>
#include "utils_base.h"
#include <fcntl.h>
+#include <sys/stat.h>
#define np_free(ptr) { if(ptr) { free(ptr); ptr = NULL; } }
diff --git a/plugins/common.h b/plugins/common.h
index 8f05c158..f1358380 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -117,9 +117,7 @@
#include <getopt.h>
#include "dirname.h"
-#ifdef HAVE_LOCALE_H
#include <locale.h>
-#endif
#ifdef HAVE_SYS_POLL_H
# include "sys/poll.h"