projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
WiP cmake-ify
[m6w6/libmemcached]
/
clients
/
ms_conn.c
diff --git
a/clients/ms_conn.c
b/clients/ms_conn.c
index 85e84739835b0c3af8b8709a189f5eefa438c79d..9c4b7f534af6cc28934708d5f7e06e1aa63b51f2 100644
(file)
--- a/
clients/ms_conn.c
+++ b/
clients/ms_conn.c
@@
-19,7
+19,10
@@
#include <fcntl.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
+
+#if defined(HAVE_ARPA_INET_H)
+# include <arpa/inet.h>
+#endif
#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>