summaryrefslogtreecommitdiff
path: root/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h')
-rw-r--r--package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h b/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h
new file mode 100644
index 000000000..67bc96b3b
--- /dev/null
+++ b/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h
@@ -0,0 +1,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;