aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-11-06 06:52:23 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-11-06 06:52:23 +0000
commitce4c0ce1dec3f34dbbc812a49026f70003a63d18 (patch)
treea45e10088e6d6fa41c7050b0824675378dec7b0f /src/backend/storage/file/fd.c
parente4725ee76a3fcdf40548c93badc4a8f679a953bb (diff)
downloadpostgresql-ce4c0ce1dec3f34dbbc812a49026f70003a63d18.tar.gz
postgresql-ce4c0ce1dec3f34dbbc812a49026f70003a63d18.zip
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index 9c5d3df0388..2bdd701481b 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Id: fd.c,v 1.7 1996/11/04 04:53:24 momjian Exp $
+ * $Id: fd.c,v 1.8 1996/11/06 06:48:51 scrappy Exp $
*
* NOTES:
*
@@ -44,6 +44,8 @@
#include <sys/stat.h>
#include <string.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <fcntl.h>
#include "c.h"
#include "miscadmin.h" /* for DataDir */
@@ -197,6 +199,7 @@ static int FileAccess(File file);
static File fileNameOpenFile(FileName fileName, int fileFlags, int fileMode);
static char *filepath(char *filename);
+int
pg_fsync(fd)
{
extern int fsyncOff;