]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 81ba5cffb7e6919ec7eca5d4fdfd9d0aecc92f61..f5d326c044d4e9b08aec613b25845a9e074aa3ea 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 74ba0499dc336c1611fc431f580ebf9d4c92ac28..49d2d96515dbf49bc5a9f7ace0786d5f68acc936 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 ef358c539446bf108b201b054baf4d3b1e8c376d..6c853611e381f2ef2a8aef954746520107d16b3a 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"