Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae1d931

Browse files
committed
clean up makefile
add #include "postgres.h"
1 parentffaff3d commitae1d931

File tree

7 files changed

+24
-19
lines changed

7 files changed

+24
-19
lines changed

‎src/backend/libpq/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
# Makefile for libpq subsystem (backend half of libpq interface)
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.1 1996/10/27 09:47:47bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.2 1996/10/31 10:37:47scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR = ../..
1212
include ../../Makefile.global
1313

14-
INCLUDE_OPT = -I..\
15-
-I../port/$(PORTNAME)\
16-
-I../include\
14+
INCLUDE_OPT = -I../port/$(PORTNAME)\
1715
-I../../include
1816

1917
CFLAGS+=$(INCLUDE_OPT)

‎src/backend/libpq/auth.c

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.4 1996/10/13 04:49:32 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.5 1996/10/31 10:37:48 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -61,10 +61,13 @@
6161

6262
#include<netinet/in.h>
6363
#include<arpa/inet.h>
64-
#include<libpq/auth.h>
65-
#include<libpq/libpq.h>
66-
#include<libpq/libpq-be.h>
67-
#include<libpq/hba.h>
64+
65+
#include"postgres.h"
66+
67+
#include"libpq/auth.h"
68+
#include"libpq/libpq.h"
69+
#include"libpq/libpq-be.h"
70+
#include"libpq/hba.h"
6871

6972
/*----------------------------------------------------------------
7073
* common definitions for generic fe/be routines

‎src/backend/libpq/be-fsstubs.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.2 1996/09/23 08:29:52 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.3 1996/10/31 10:37:49 scrappy Exp $
1111
*
1212
* NOTES
1313
* This should be moved to a more appropriate place. It is here
@@ -25,6 +25,9 @@
2525
#include"lib/dllist.h"
2626
#include"libpq/libpq.h"
2727
#include"libpq/libpq-fs.h"
28+
#include"nodes/nodes.h"
29+
#include"utils/memutils.h"
30+
#include"lib/fstack.h"
2831
#include"utils/mcxt.h"
2932
#include"utils/palloc.h"
3033

‎src/backend/libpq/portal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portal.c,v 1.2 1996/10/11 09:47:13 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portal.c,v 1.3 1996/10/31 10:37:50 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -58,7 +58,7 @@
5858
#include<stdio.h>/* for sprintf() */
5959
#include<string.h>
6060

61-
#include"c.h"
61+
#include"postgres.h"
6262
#include"lib/dllist.h"
6363
#include"libpq/libpq.h"/* where the declarations go */
6464
#include"utils/exc.h"

‎src/backend/libpq/portalbuf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.1.1.1 1996/07/09 06:21:30 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.2 1996/10/31 10:37:51 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -48,7 +48,7 @@
4848
*
4949
*/
5050
#include<sys/types.h>
51-
#include"c.h"
51+
#include"postgres.h"
5252

5353
#include"libpq/libpq.h"/* where the declarations go */
5454
#include"utils/exc.h"

‎src/backend/libpq/pqcomm.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.3 1996/10/31 10:16:09 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.4 1996/10/31 10:37:52 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -34,6 +34,9 @@
3434
*the postgres backend.
3535
*
3636
*/
37+
38+
#include"postgres.h"
39+
3740
#include"libpq/pqsignal.h"/* substitute for <signal.h> */
3841
#include<stdio.h>
3942
#include<string.h>
@@ -55,11 +58,9 @@
5558
#endif/* SOMAXCONN */
5659
#endif/* linux */
5760

58-
#include"c.h"
5961
#include"libpq/auth.h"
6062
#include"libpq/libpq.h"/* where the declarations go */
6163
#include"libpq/pqcomm.h"
62-
#include"utils/elog.h"
6364

6465
/* ----------------
6566
*declarations

‎src/backend/libpq/util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/util.c,v 1.1 1996/10/11 09:47:14 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/util.c,v 1.2 1996/10/31 10:37:53 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,7 @@
2222
#include<stdio.h>/* for sprintf() */
2323
#include<string.h>
2424

25-
#include"c.h"
25+
#include"postgres.h"
2626
#include"lib/dllist.h"
2727
#include"libpq/libpq.h"/* where the declarations go */
2828
#include"utils/exc.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp