projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
c++: fix incompatible types
[awesomized/libmemcached]
/
libmemcached
/
csl
/
server.h
diff --git
a/libmemcached/csl/server.h
b/libmemcached/csl/server.h
index fe97eb916a748d84886912804f6cd359fea61aed..21915d64624b64db6b3b114f2bc616a879f0a34a 100644
(file)
--- a/
libmemcached/csl/server.h
+++ b/
libmemcached/csl/server.h
@@
-38,7
+38,10
@@
#pragma once
#include <cstdlib>
-#include <arpa/inet.h>
+
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
struct server_t
{