[package] uhttpd:
[openwrt-10.03/.git] / package / uhttpd / src / uhttpd.h
index bb08afa1a14bd256545fbb2ab0cffe24e1cd1d75..0e9f1ee88639bcdddab8d797a4ba9018546798f7 100644 (file)
@@ -26,6 +26,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/select.h>
+#include <sys/wait.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <linux/limits.h>
@@ -73,6 +74,9 @@ struct config {
        void (*lua_close) (lua_State *L);
        void (*lua_request) (struct client *cl, struct http_request *req, lua_State *L);
 #endif
+#if defined(HAVE_CGI) || defined(HAVE_LUA)
+       int script_timeout;
+#endif
 #ifdef HAVE_TLS
        char *cert;
        char *key;