projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
semver: 1.0 -> 1
[m6w6/libmemcached]
/
src
/
p9y
/
socket.hpp
diff --git
a/src/p9y/socket.hpp
b/src/p9y/socket.hpp
index 339b5995bf285465e160c8989b12c563fdda8a5b..23237e733b82e6a2e734d64c53dbbfd22cb0d2b0 100644
(file)
--- a/
src/p9y/socket.hpp
+++ b/
src/p9y/socket.hpp
@@
-1,6
+1,6
@@
#pragma once
#pragma once
-#include "libmemcached-1
.0
/platform.h"
+#include "libmemcached-1/platform.h"
#if defined __cplusplus
# include <cerrno>
#if defined __cplusplus
# include <cerrno>
@@
-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
@@
-16,6
+18,14
@@
# include <sys/socket.h>
#endif
# include <sys/socket.h>
#endif
+#if defined HAVE_NETINET_IN_H
+# 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