aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/chmlib/headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/chmlib/headers.patch')
-rw-r--r--unmaintained/chmlib/headers.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/unmaintained/chmlib/headers.patch b/unmaintained/chmlib/headers.patch
new file mode 100644
index 0000000000..d60af28639
--- /dev/null
+++ b/unmaintained/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>