Fixes a few more files that did not have a good config.h
[m6w6/libmemcached] / clients / memaslap.c
index 8053775cb3bb6e4565636367c9290ac9a1504401..fba0ab4ecf1c9f2766e2d0eac0682ba2b1ab595f 100644 (file)
  *      Mingqiang Zhuang <mingqiangzhuang@hengtiansoft.com>
  *
  */
-#include "config.h"
+#include "mem_config.h"
 
 #include <stdlib.h>
 #include <getopt.h>
 #include <limits.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