From b4c8fdbe773fe2a8cf921415f40043acefa26b5d Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 22 Dec 2024 14:51:33 +0300 Subject: Fix NOSOCK Code was including socket-related headers even with NOSOCK --- src/request.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/request.c') diff --git a/src/request.c b/src/request.c index 93d2421..3536778 100644 --- a/src/request.c +++ b/src/request.c @@ -4,8 +4,10 @@ #include #include +#ifdef LibHTTPC_SOCK #include #include +#endif struct LibHTTPC_Request *LibHTTPC_loadRequest(struct LibHTTPC_Request *request_buf, char *buf) -- cgit 1.4.1