Skip to content

Commit df2374f

Browse files
committed
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>
1 parent fcf7d45 commit df2374f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/main/main.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.4 1997/04/02 18:11:08 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.5 1997/04/12 09:37:31 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include <stdio.h>
1515
#include <string.h>
1616
#include <unistd.h>
17+
18+
#include "postgres.h"
1719
#ifdef USE_LOCALE
1820
#include <locale.h>
1921
#endif
20-
#include "postgres.h"
2122
#include "miscadmin.h"
2223
#include "bootstrap/bootstrap.h" /* for BootstrapMain() */
2324
#include "tcop/tcopprot.h" /* for PostgresMain() */

0 commit comments

Comments
 (0)