diff options
| author | Nakidai <nakidai@disroot.org> | 2024-11-29 10:37:47 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2024-11-29 10:37:47 +0300 |
| commit | 9f5f94a729ecbd99a8d2adac29b107afa80574c6 (patch) | |
| tree | 49798529314b60c31070b9cffe122cf0331565d3 /include/libhttpc.h | |
| parent | 2502543936a8523a24b630ca49b3185ebfd724d5 (diff) | |
| download | libhttpc-9f5f94a729ecbd99a8d2adac29b107afa80574c6.tar.gz libhttpc-9f5f94a729ecbd99a8d2adac29b107afa80574c6.zip | |
Add LibHTTPC_SOCK compile-time flag
Diffstat (limited to 'include/libhttpc.h')
| -rw-r--r-- | include/libhttpc.h | 4 |
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__ */ |