WIP
[m6w6/libmemcached] / tests / libmemcached-1.0 / mem_functions.cc
index fa9ce010e42fb7b6fb4ad8f1c44e6f38ee224bca..2c12f9d797cca2a145d3c992ab3aff439c7303ca 100644 (file)
 #include <semaphore.h>
 #include <signal.h>
 #include <sys/stat.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+#  include <sys/time.h>
+#endif
+#include <time.h>
 #include <sys/types.h>
-#include <unistd.h>
-
+#if HAVE_UNISTD_H
+#  include <unistd.h>
+#endif
 #include <iostream>
 
 #include "libtest/server.h"