* Header file adjustments to make it work on FreeBSD
[citadel.git] / webcit / mime_parser.c
index 613b9258e51cccd2fa2ab5fb72fceffb2515855f..7067bb1a8d2d684ee470260cda225e7629d582b3 100644 (file)
@@ -8,18 +8,37 @@
  *
  */
 
-
+#include <ctype.h>
 #include <stdlib.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <stdio.h>
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
 #include <signal.h>
 #include <sys/types.h>
-#include <ctype.h>
+#include <sys/wait.h>
+#include <sys/socket.h>
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
 #include <string.h>
-#include <sys/stat.h>
+#include <pwd.h>
 #include <errno.h>
-
+#include <stdarg.h>
+#include <pthread.h>
+#include <signal.h>
 #include "webcit.h"
+#include "webserver.h"
+
 #include "mime_parser.h"