attempt to fix #12, #49 and #65
[awesomized/libmemcached] / clients / ms_task.c
index 7e7921fcf2b9b6cc44e17c84bfd39e1b5461c20f..f2cb8657d678bc2088aea873155fc6962cdd404a 100644 (file)
@@ -9,18 +9,14 @@
  *
  */
 
-#include "config.h"
+#include "mem_config.h"
 
-#include <inttypes.h>
-#if TIME_WITH_SYS_TIME
+#if defined(HAVE_SYS_TIME_H)
 # include <sys/time.h>
+#endif
+
+#if defined(HAVE_TIME_H)
 # include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
 #endif
 
 #include "ms_thread.h"