]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added more include-guards.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 24 Jan 2012 17:26:33 +0000 (18:26 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 24 Jan 2012 17:26:33 +0000 (18:26 +0100)
src/DiskIO/DiskDaemon/DiskdFile.cc

index af376dcb8cb5796766eb93351dd046a33fc95e6c..561a1b2ef3a4b24dec13e15434163c2e95566215 100644 (file)
 
 #include "squid-old.h"
 
+#if HAVE_SYS_IPC_H
 #include <sys/ipc.h>
+#endif
+#if HAVE_SYS_MSG_H
 #include <sys/msg.h>
+#endif
+#if HAVE_SYS_SHM_H
 #include <sys/shm.h>
+#endif
 
 #include "DiskdFile.h"
 #include "ConfigOption.h"