Some more configure checks for headers
[deb_libnfs.git] / lib / libnfs.c
index 543b0ce9ec89a7293e129213e7158c6d150ded77..c322c377b15d5a858da2e084c0e8aeeb03ee11b8 100644 (file)
 
 #ifdef WIN32
 #include "win32_compat.h"
-#else
-#include <strings.h>
+#endif
+
+#ifdef HAVE_UTIME_H
 #include <utime.h>
-#endif /*WIN32*/
+#endif
 
 #ifdef ANDROID
 #define statvfs statfs
 #include <netinet/in.h>
 #endif
 
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdlib.h>