aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chmlib/headers.patch
blob: d60af28639fd6219cdcd3c6880eefd98439f45b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>