about summary refs log tree commit diff
path: root/src/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/response.c')
-rw-r--r--src/response.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/response.c b/src/response.c
index d2442ff..7964b72 100644
--- a/src/response.c
+++ b/src/response.c
@@ -5,7 +5,9 @@
 #include <stdio.h>
 #include <string.h>
 
+#ifdef LibHTTPC_SOCK
 #include <sys/socket.h>
+#endif
 
 
 #define WRITE()                                             \