projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
p9y: fix TCP constants
[awesomized/libmemcached]
/
src
/
p9y
/
socket.hpp
diff --git
a/src/p9y/socket.hpp
b/src/p9y/socket.hpp
index ca0b97d3a5f140ec48cf6bc9b71ecfb56489fe50..139ebb5622ee223d76d936cf957c2e3c3d0ac238 100644
(file)
--- a/
src/p9y/socket.hpp
+++ b/
src/p9y/socket.hpp
@@
-8,6
+8,8
@@
# include <errno.h>
#endif
# include <errno.h>
#endif
+#include <fcntl.h>
+
#if defined HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#if defined HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
@@
-20,6
+22,10
@@
# include <netinet/in.h>
#endif
# include <netinet/in.h>
#endif
+#if defined HAVE_NETINET_TCP_H
+# include <netinet/tcp.h>
+#endif
+
#if defined HAVE_SYS_UN_H
# include <sys/un.h>
#endif
#if defined HAVE_SYS_UN_H
# include <sys/un.h>
#endif