* Rewrote the HTTP engine and application coupling to run in a worker thread
[citadel.git] / webcit / tcp_sockets.c
index d7ec10712e545c5abecb64f565c4911529e45ff4..50a9b299efb607ddf6c2c3da583ed2a0bc776d74 100644 (file)
@@ -6,21 +6,32 @@
  * $Id$
  */
 
+
+#include <ctype.h>
 #include <stdlib.h>
-#ifdef HAVE_UNISTD_H
 #include <unistd.h>
-#endif
 #include <stdio.h>
+#include <fcntl.h>
 #include <signal.h>
 #include <sys/types.h>
+#include <sys/wait.h>
 #include <sys/socket.h>
+#include <sys/time.h>
+#include <limits.h>
 #include <netinet/in.h>
-#include <arpa/inet.h>
 #include <netdb.h>
 #include <string.h>
+#include <pwd.h>
+#include <errno.h>
 #include <stdarg.h>
+#include <pthread.h>
+#include <signal.h>
 #include "webcit.h"
 
+
+
+
+
 char server_is_local = 0;
 
 #ifndef INADDR_NONE