diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/config.h | 1 | ||||
| -rw-r--r-- | include/libhttpc.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h new file mode 100644 index 0000000..ddbd399 --- /dev/null +++ b/include/config.h @@ -0,0 +1 @@ +#define LibHTTPC_SOCK 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__ */ |