aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chmlib/headers.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-02-15 17:21:36 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-02-15 17:24:47 +0100
commita861fb9faf7dde1ca4c9ad2915e1c536ddb3a3a4 (patch)
tree82bee4ece2b38cb71dd5cc43ea827c3ef87c555a /testing/chmlib/headers.patch
parent9b1914641d2c38ee02e8de2b9e8fa489ece14218 (diff)
downloadaports-a861fb9faf7dde1ca4c9ad2915e1c536ddb3a3a4.tar.bz2
aports-a861fb9faf7dde1ca4c9ad2915e1c536ddb3a3a4.tar.xz
testing/chmlib: import 2 patches from gentoo
Diffstat (limited to 'testing/chmlib/headers.patch')
-rw-r--r--testing/chmlib/headers.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/chmlib/headers.patch b/testing/chmlib/headers.patch
new file mode 100644
index 0000000000..d60af28639
--- /dev/null
+++ b/testing/chmlib/headers.patch
@@ -0,0 +1,18 @@
+--- src/chm_http.c
++++ src/chm_http.c
+@@ -34,6 +34,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #if __sun || __sgi
+ #include <strings.h>
+ #endif
+@@ -42,6 +43,7 @@
+ #include <sys/socket.h>
+ #include <sys/types.h>
+ #include <netinet/in.h>
++#include <arpa/inet.h>
+
+ /* threading includes */
+ #include <pthread.h>