aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-07-25 19:58:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-07-25 19:58:56 +0000
commitfdb5b69e9c8f7186fe43c21580ac2ba45db1740f (patch)
tree2540eb96c4d42e09ae214eef6e7b0a2aeb72990a /src
parent3eb98fd16550304a9508c3e0ceac435647f672c9 (diff)
downloadpostgresql-fdb5b69e9c8f7186fe43c21580ac2ba45db1740f.tar.gz
postgresql-fdb5b69e9c8f7186fe43c21580ac2ba45db1740f.zip
Suppress warning when compiling with -DPROFILE_PID_DIR: sys/stat.h is
supposed to be included when using mkdir().
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/ipc/ipc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c
index da3eec29b4b..e2f398d2e45 100644
--- a/src/backend/storage/ipc/ipc.c
+++ b/src/backend/storage/ipc/ipc.c
@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/ipc/ipc.c,v 1.96 2007/02/21 15:12:39 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/ipc/ipc.c,v 1.97 2007/07/25 19:58:56 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,6 +21,7 @@
#include <signal.h>
#include <unistd.h>
+#include <sys/stat.h>
#include "miscadmin.h"
#include "storage/ipc.h"