@@ -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; } }
@@ -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"