uhttpd: - fix parsing of interpreter entries in the config file, fixes serving of...
[openwrt/staging/mkresin.git] / package / uhttpd / src / uhttpd.h
index 78cca7b3b2a0e27689da21294d883d400415d94f..6747b905ff459f7a69ccbc9ec187904b8c226a74 100644 (file)
@@ -28,6 +28,7 @@
 #include <sys/select.h>
 #include <sys/wait.h>
 #include <netinet/in.h>
+#include <netinet/tcp.h>
 #include <arpa/inet.h>
 #include <linux/limits.h>
 #include <netdb.h>
 #include <openssl/ssl.h>
 #endif
 
+/* uClibc... */
+#ifndef SOL_TCP
+#define SOL_TCP        6
+#endif
+
 
 #define UH_LIMIT_MSGHEAD       4096
 #define UH_LIMIT_HEADERS       64