aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/buffile.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-09-05 00:43:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-09-05 00:43:07 +0000
commit52c9d259335c9670f6487c5f40fc53b57a4c7b17 (patch)
tree721b585843dca83ac9517ca933fa891c4532a530 /src/backend/storage/file/buffile.c
parent3f63787cbfe0f1e837c92cd8ac35fd7ab811c18b (diff)
downloadpostgresql-52c9d259335c9670f6487c5f40fc53b57a4c7b17.tar.gz
postgresql-52c9d259335c9670f6487c5f40fc53b57a4c7b17.zip
Be careful to include postgres.h *before* any system headers, to ensure
that the right flavors of largefile-related definitions are seen. Most of these changes are probably unnecessary, but better safe than sorry.
Diffstat (limited to 'src/backend/storage/file/buffile.c')
-rw-r--r--src/backend/storage/file/buffile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c
index e518897b348..7e78793a404 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.13 2002/06/20 20:29:34 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.14 2002/09/05 00:43:07 tgl Exp $
*
* NOTES:
*
@@ -32,10 +32,10 @@
*-------------------------------------------------------------------------
*/
-#include <errno.h>
-
#include "postgres.h"
+#include <errno.h>
+
#include "storage/fd.h"
#include "storage/buffile.h"