1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-25 20:23:07 +03:00

Make the order of the header file includes consistent.

Similar to commits 14aec03502, 7e735035f2 and dddf4cdc33, this commit
makes the order of header file inclusion consistent in more places.

Author: Vignesh C
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
This commit is contained in:
Amit Kapila
2019-11-25 08:08:57 +05:30
parent 2aa84520b3
commit e0487223ec
78 changed files with 127 additions and 210 deletions

View File

@@ -12,9 +12,9 @@
#include "ecpglib.h"
#include "ecpglib_extern.h"
#include "ecpgtype.h"
#include "sql3types.h"
#include "sqlca.h"
#include "sqlda.h"
#include "sql3types.h"
static void descriptor_free(struct descriptor *desc);

View File

@@ -3,12 +3,12 @@
#ifndef _ECPG_ECPGLIB_EXTERN_H
#define _ECPG_ECPGLIB_EXTERN_H
#include "libpq-fe.h"
#include "sqlca.h"
#include "sqlda-native.h"
#include "sqlda-compat.h"
#include "ecpg_config.h"
#include "ecpgtype.h"
#include "libpq-fe.h"
#include "sqlca.h"
#include "sqlda-compat.h"
#include "sqlda-native.h"
#ifndef CHAR_BIT
#include <limits.h>

View File

@@ -11,11 +11,11 @@
#include "ecpglib.h"
#include "ecpglib_extern.h"
#include "ecpgtype.h"
#include "pg_config_paths.h"
#include "pgtypes_date.h"
#include "pgtypes_interval.h"
#include "pgtypes_numeric.h"
#include "pgtypes_timestamp.h"
#include "pg_config_paths.h"
#include "sqlca.h"
#ifndef LONG_LONG_MIN

View File

@@ -7,11 +7,12 @@
#ifndef _ECPGLIB_H
#define _ECPGLIB_H
#include "libpq-fe.h"
#include <string.h>
#include "ecpg_config.h"
#include "ecpgtype.h"
#include "libpq-fe.h"
#include "sqlca.h"
#include <string.h>
/*
* This is a small extract from c.h since we don't want to leak all postgres

View File

@@ -3,9 +3,8 @@
#ifndef _ECPG_PREPROC_EXTERN_H
#define _ECPG_PREPROC_EXTERN_H
#include "type.h"
#include "common/keywords.h"
#include "type.h"
#ifndef CHAR_BIT
#include <limits.h>