Skip to content

Commit 683e3a1

Browse files
authored
Merge pull request #150 from dg0yt/android
Include netinet/in.h for in_port_t
2 parents db71a07 + 0bee11e commit 683e3a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/libmemcached-1.0/struct/server.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
# include <netdb.h>
2222
#endif
2323

24+
#ifdef HAVE_IN_PORT_T
25+
# include <netinet/in.h>
26+
#endif
27+
2428
#ifdef NI_MAXHOST
2529
# define MEMCACHED_NI_MAXHOST NI_MAXHOST
2630
#else

0 commit comments

Comments
 (0)