summaryrefslogtreecommitdiff
path: root/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h
blob: 67bc96b3b8d5b61370142e52a8381495e7574b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- lynx2-8-7.orig/WWW/Library/Implementation/www_tcp.h	2007-08-03 01:24:27.000000000 +0200
+++ lynx2-8-7/WWW/Library/Implementation/www_tcp.h	2009-06-13 12:34:28.000000000 +0200
@@ -777,12 +777,14 @@ Defaults
 #ifndef NO_IOCTL
 #include <sys/ioctl.h>		/* EJB */
 #endif /* !NO_IOCTL */
+#ifndef HOSTBUILD
 #include <sys/socket.h>
 #include <netinet/in.h>
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>		/* Must be after netinet/in.h */
 #endif
 #include <netdb.h>
+#endif
 #endif /* TCP includes */
 
 typedef unsigned short PortNumber;