--- pgsql/src/include/storage/ipc.h.orig	Tue Jun  6 22:11:44 2000
+++ pgsql/src/include/storage/ipc.h	Tue Jun  6 22:05:37 2000
@@ -23,7 +23,9 @@
 #define IPC_H
 
 #include <sys/types.h>
+#ifdef HAVE_SYS_IPC_H
 #include <sys/ipc.h>			/* For IPC_PRIVATE */
+#endif
 
 #include "config.h"
 
