]> granicus.if.org Git - postgresql/commitdiff
Suppress warning when compiling with -DPROFILE_PID_DIR: sys/stat.h is
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jul 2007 19:58:56 +0000 (19:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jul 2007 19:58:56 +0000 (19:58 +0000)
supposed to be included when using mkdir().

src/backend/storage/ipc/ipc.c

index da3eec29b4bfb6ff1091be5f8754518b4c260811..e2f398d2e4540a72872d0f848275e72166edec9e 100644 (file)
@@ -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"