Header cleanup.
authorAndre Noll <maan@systemlinux.org>
Sun, 1 Jun 2008 21:22:04 +0000 (23:22 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Jun 2008 21:22:04 +0000 (23:22 +0200)
No need to include lots of network-related header files.

adu.h

diff --git a/adu.h b/adu.h
index f1d4fba..debada6 100644 (file)
--- a/adu.h
+++ b/adu.h
@@ -8,7 +8,7 @@
 
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <sys/wait.h>
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h> /* time(), localtime() */
 #include <errno.h>
 #include <limits.h>
 #include <stdarg.h>
-#include <ctype.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/socket.h>
-#include <sys/un.h> /* needed by create_pf_socket */
+#include <inttypes.h>
 #include <string.h>
 #include <assert.h>
 #include <osl.h>