* Rewrote the HTTP engine and application coupling to run in a worker thread
[citadel.git] / webcit / locate_host.c
index fba5d88476663d1d677a59e0bf1e9be8b70f1438..87d1385aa092735be140ee9d199950a567386597 100644 (file)
@@ -2,16 +2,30 @@
  * locate the originating host
  */
 
+
+#include <ctype.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <stdio.h>
+#include <fcntl.h>
 #include <signal.h>
 #include <sys/types.h>
+#include <sys/wait.h>
 #include <sys/socket.h>
-#include <netinet/in.h>
+#include <sys/time.h>
 #include <limits.h>
+#include <netinet/in.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"
+
+
+
 
 void locate_host(char *tbuf, int client_socket)
 {