--- osdep.h.orig	2003-12-15 15:17:31.000000000 +1100
+++ osdep.h	2012-04-02 09:56:19.000000000 +1000
@@ -131,6 +131,7 @@ extern int gethostname(char *name, int n
 
 #import <stddef.h>
 #import <netinet/in.h>
+#import <netinet/tcp.h>
 #ifndef MAC_OS_X_VERSION_10_2
 #import <netinet/ip_compat.h>
 #endif
