small header cleanup
authorAndre <maan@p133.(none)>
Fri, 7 Apr 2006 13:46:13 +0000 (15:46 +0200)
committerAndre <maan@p133.(none)>
Fri, 7 Apr 2006 13:46:13 +0000 (15:46 +0200)
fd.c
ipc.c
para.h

diff --git a/fd.c b/fd.c
index 81ba5cf..f5d326c 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -19,6 +19,9 @@
 /** \file fd.c helper functions for file descriptor handling */
 
 #include "para.h"
+
+#include <sys/select.h>
+
 #include "error.h"
 /**
  * check whether a file exists
diff --git a/ipc.c b/ipc.c
index 74ba049..49d2d96 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -23,6 +23,7 @@
 #include "ipc.h"
 #include <sys/ipc.h>
 #include <sys/shm.h>
+#include <sys/sem.h>
 
 /** abort if semget() failed that many times */
 #define MAX_SEMOP_RETRIES 500
diff --git a/para.h b/para.h
index ef358c5..6c85361 100644 (file)
--- a/para.h
+++ b/para.h
@@ -38,8 +38,6 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
 #include <ctype.h>
 #include <sys/un.h> /* needed by create_pf_socket */
 #include "gcc-compat.h"