aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chmlib/headers.patch
diff options
context:
space:
mode:
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>