projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
tests: honor EPIPE in kill(HUP) test
[awesomized/libmemcached]
/
libmemcached
/
csl
/
server.h
diff --git
a/libmemcached/csl/server.h
b/libmemcached/csl/server.h
index 92f7ed561b0840f11e4d03b48369d02539e1a0ca..21915d64624b64db6b3b114f2bc616a879f0a34a 100644
(file)
--- a/
libmemcached/csl/server.h
+++ b/
libmemcached/csl/server.h
@@
-38,12
+38,15
@@
#pragma once
#include <cstdlib>
-#include <arpa/inet.h>
+
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
struct server_t
{
- in_port_t port;
- uint32_t weight;
const char *c_str;
size_t size;
+ in_port_t port;
+ uint32_t weight;
};