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 commits14aec03502
,7e735035f2
anddddf4cdc33
, 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:
@@ -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);
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user