summary refs log tree commit diff
path: root/include/libhttpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libhttpc.h')
-rw-r--r--include/libhttpc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libhttpc.h b/include/libhttpc.h
index 702a662..de45b9f 100644
--- a/include/libhttpc.h
+++ b/include/libhttpc.h
@@ -1,6 +1,8 @@
 #ifndef __LIBHTTPC_H__
 #define __LIBHTTPC_H__
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <stddef.h>
 #include <stdint.h>
@@ -273,6 +275,7 @@ char *LibHTTPC_dumpResponse(struct LibHTTPC_Response *response, char *buf, size_
  */
 int LibHTTPC_Request_(struct LibHTTPC_Request *request);
 
+#ifdef LibHTTPC_SOCK
 /**
  * Not implemented yet
  */
@@ -286,5 +289,6 @@ struct LibHTTPC_Request *LibHTTPC_readRequest(
  * Not implemented yet
  */
 int LibHTTPC_writeResponse(int sockfd, struct LibHTTPC_Response *response);
+#endif
 
 #endif /* __LIBHTTPC_H__ */