aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage')
-rw-r--r--src/include/storage/ipc.h4
-rw-r--r--src/include/storage/proc.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/include/storage/ipc.h b/src/include/storage/ipc.h
index 9ee9ef5b9a3..e5baf1c2dbe 100644
--- a/src/include/storage/ipc.h
+++ b/src/include/storage/ipc.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ipc.h,v 1.4 1996/10/19 06:27:12 scrappy Exp $
+ * $Id: ipc.h,v 1.5 1996/10/31 05:57:40 momjian Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
@@ -23,6 +23,8 @@
#include <sys/types.h>
+#include "postgres.h"
+
/*
* Many architectures have support for user-level spinlocks (i.e., an
* atomic test-and-set instruction). However, we have only written
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index 36dd928d397..2a73757a951 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: proc.h,v 1.1 1996/08/28 01:58:24 scrappy Exp $
+ * $Id: proc.h,v 1.2 1996/10/31 05:57:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,6 +16,7 @@
#include "storage/ipc.h"
#include "storage/lock.h"
#ifndef WIN32
+#include <sys/ipc.h>
#include <sys/sem.h>
#else
/* This is because WIN32 already defines PROC */