From df2374f0245f17cde5ca0bbf2c79ba845ef20a1c Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Sat, 12 Apr 1997 09:37:31 +0000
Subject: [PATCH] Make sure postgres.h is included before we start checking
 #ifdef's for other header files.

Pointed out by: Edmund Mergl <E.Mergl@bawue.de>
---
 src/backend/main/main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 2fa7a46242c..5803f9dd3ba 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -7,17 +7,18 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.4 1997/04/02 18:11:08 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.5 1997/04/12 09:37:31 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+
+#include "postgres.h"
 #ifdef USE_LOCALE  
   #include <locale.h>
 #endif
-#include "postgres.h"
 #include "miscadmin.h"
 #include "bootstrap/bootstrap.h"	/* for BootstrapMain() */
 #include "tcop/tcopprot.h"		/* for PostgresMain() */
-- 
GitLab