Merge lp:~tangent-org/libmemcached/1.0-build Build: jenkins-Libmemcached-1.0-89
[awesomized/libmemcached] / clients / ms_task.c
index 7e7921fcf2b9b6cc44e17c84bfd39e1b5461c20f..083b46f48d420fa86bc2de6b054e44ab852075a1 100644 (file)
 
 #include "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"