mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Move some system includes into c.h, and remove duplicates.
This commit is contained in:
@@ -4,14 +4,12 @@
|
||||
* 30159 Hannover, Germany
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include "sys/ldr.h"
|
||||
#include <a.out.h>
|
||||
#include "ldfcn.h"
|
||||
|
||||
#include "postgres.h"
|
||||
#include "dynloader.h"
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifdef PRE_BSDI_2_1
|
||||
#include <stdio.h>
|
||||
#include "postgres.h"
|
||||
|
||||
extern char *pg_pathname;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.10 1999/07/16 04:59:37 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.11 1999/07/17 20:17:30 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* all functions are defined here -- it's impossible to trace the
|
||||
@@ -16,7 +16,6 @@
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
/* System includes */
|
||||
#include <stdio.h>
|
||||
#include <a.out.h>
|
||||
|
||||
#include "postgres.h"
|
||||
|
||||
@@ -10,12 +10,10 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.14 1999/07/16 04:59:37 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.15 1999/07/17 20:17:31 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "postgres.h"
|
||||
#ifdef HAVE_DLD_H
|
||||
|
||||
@@ -9,11 +9,10 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.8 1999/07/16 04:59:38 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.9 1999/07/17 20:17:31 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include "postgres.h"
|
||||
#include "dl.h"
|
||||
#include "fmgr.h"
|
||||
|
||||
Reference in New Issue
Block a user