Procházet zdrojové kódy

added missing header to fix build on freebsd

Sven Nierlein před 12 roky
rodič
revize
4083622f86
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 0
      lib/utils_base.c
  2. 0 2
      plugins/common.h

+ 1 - 0
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; } }
 

+ 0 - 2
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"