projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in all current libmemcached work, plus restore older, working,
[awesomized/libmemcached]
/
libmemcached
/
platform.h
diff --git
a/libmemcached/platform.h
b/libmemcached/platform.h
index 9eafbb144d0dcd6d562028d00f24e010fa5c8e62..e7511cad0d67c6f8fa73d9b8843450bb67ea606c 100644
(file)
--- a/
libmemcached/platform.h
+++ b/
libmemcached/platform.h
@@
-20,11
+20,11
@@
typedef SOCKET memcached_socket_t;
#else
typedef int memcached_socket_t;
#include <sys/socket.h>
#else
typedef int memcached_socket_t;
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/un.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/un.h>
#include <netinet/tcp.h>
-#include <netinet/in.h>
#endif /* WIN32 */
#endif /* WIN32 */