projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixes a few more files that did not have a good config.h
[m6w6/libmemcached]
/
clients
/
memaslap.c
diff --git
a/clients/memaslap.c
b/clients/memaslap.c
index 8053775cb3bb6e4565636367c9290ac9a1504401..fba0ab4ecf1c9f2766e2d0eac0682ba2b1ab595f 100644
(file)
--- a/
clients/memaslap.c
+++ b/
clients/memaslap.c
@@
-13,20
+13,18
@@
* Mingqiang Zhuang <mingqiangzhuang@hengtiansoft.com>
*
*/
* Mingqiang Zhuang <mingqiangzhuang@hengtiansoft.com>
*
*/
-#include "config.h"
+#include "
mem_
config.h"
#include <stdlib.h>
#include <getopt.h>
#include <limits.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>
# include <sys/time.h>
+#endif
+
+#if defined(HAVE_TIME_H)
# include <time.h>
# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
#endif
#endif