]> git.tuebingen.mpg.de Git - adu.git/commitdiff
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 f1d4fba029e6e79644e260d7db7566ae7c2b8ee2..debada6f1c46ec3d743372ebd8ff637470263dd8 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>