Add date for version.
[awesomized/libmemcached] / clients / ms_thread.c
index 1efe5cfbb6f62df9dc8975033065d6ae933db002..2405e6adaa967ed4fdfbf688f5c8dc9ab3417fe4 100644 (file)
 
 #include "config.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"
 #include "ms_setting.h"
 #include "ms_atomic.h"