diff options
| author | Nakidai <nakidai@disroot.org> | 2024-12-22 14:51:33 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2024-12-22 14:51:33 +0300 |
| commit | b4c8fdbe773fe2a8cf921415f40043acefa26b5d (patch) | |
| tree | 1cddc0c9caf28601ba9747275d65b0924f569275 /src/response.c | |
| parent | 6d6450e13c31f085077da61c84eafdfd70348d52 (diff) | |
| download | libhttpc-master.tar.gz libhttpc-master.zip | |
Code was including socket-related headers even with NOSOCK
Diffstat (limited to 'src/response.c')
| -rw-r--r-- | src/response.c | 2 |
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() \ |