summaryrefslogtreecommitdiffstats
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 c93e9c3..8685e6f 100644
--- a/lib/utils_base.c
+++ b/lib/utils_base.c
@@ -28,6 +28,7 @@
28#include <stdarg.h> 28#include <stdarg.h>
29#include "utils_base.h" 29#include "utils_base.h"
30#include <fcntl.h> 30#include <fcntl.h>
31#include <sys/stat.h>
31 32
32#define np_free(ptr) { if(ptr) { free(ptr); ptr = NULL; } } 33#define np_free(ptr) { if(ptr) { free(ptr); ptr = NULL; } }
33 34
diff --git a/plugins/common.h b/plugins/common.h
index 8f05c15..f135838 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -117,9 +117,7 @@
117#include <getopt.h> 117#include <getopt.h>
118#include "dirname.h" 118#include "dirname.h"
119 119
120#ifdef HAVE_LOCALE_H
121#include <locale.h> 120#include <locale.h>
122#endif
123 121
124#ifdef HAVE_SYS_POLL_H 122#ifdef HAVE_SYS_POLL_H
125# include "sys/poll.h" 123# include "sys/poll.h"