2 * Copyright (C) 2006-2010 Brian Aker, Trond Norbye
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
8 * Summary: Try to hide platform-specific stuff
11 #ifndef LIBMEMCACHED_PLATFORM_H
12 #define LIBMEMCACHED_PLATFORM_H 1
18 typedef short in_port_t
;
19 typedef SOCKET memcached_socket_t
;
21 typedef int memcached_socket_t
;
22 #include <sys/socket.h>
23 #include <arpa/inet.h>
26 #include <netinet/tcp.h>
27 #include <netinet/in.h>
32 #endif /* LIBMEMCACHED_PLATFORM_H */