summary refs log tree commit diff
path: root/requestHandler.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-11-29 10:54:49 +0300
committerNakidai <nakidai@disroot.org>2024-11-29 10:54:49 +0300
commit30648f09db0a1c3a22ceef876102671b6ff61eb3 (patch)
tree36826c22c4defde4a45b6bf9f125434688b9937b /requestHandler.c
parent8848fa6069a80b59f3f2a650274384d436e40ab3 (diff)
downloadcptc-30648f09db0a1c3a22ceef876102671b6ff61eb3.tar.gz
cptc-30648f09db0a1c3a22ceef876102671b6ff61eb3.zip
Update code for last commit of libhttpc 1.2.0
Diffstat (limited to 'requestHandler.c')
-rw-r--r--requestHandler.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/requestHandler.c b/requestHandler.c
index 60a3b4c..74dda96 100644
--- a/requestHandler.c
+++ b/requestHandler.c
@@ -13,7 +13,10 @@
 #include <sys/types.h>
 
 #include <cpetpet.h>
-#include <libhttpc.h>
+#include <libhttpc/libhttpc.h>
+#ifndef  LibHTTPC_SOCK
+#error LibHTTPC should be built with support of sockets for this project
+#endif
 
 
 static bool isnumber(const char *s)