Skip to content

Commit 0bee11e

Browse files
committed
Include netinet/in.h for in_port_t
Signed-off-by: Kai Pastor <[email protected]>
1 parent b32a714 commit 0bee11e

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)