Skip to content

Commit b554cb7

Browse files
committed
Add #include postgres_fe.h in two win32-specific files, because there is
pg-specific code in those files, or might be some day.
1 parent 033a477 commit b554cb7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/interfaces/libpq/pthread-win32.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
*
66
* Copyright (c) 2004-2006, PostgreSQL Global Development Group
77
* IDENTIFICATION
8-
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.11 2006/03/05 15:59:10 momjian Exp $
8+
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.12 2006/07/29 15:22:27 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
1212

13+
#include "postgres_fe.h"
1314

1415
#include <windows.h>
1516
#include "pthread-win32.h"

src/interfaces/libpq/win32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#endif
2626
#define NOCRYPT
2727

28-
#include <windows.h>
29-
#include <stdio.h>
28+
#include "postgres_fe.h"
29+
3030
#include "win32.h"
3131

3232
/* Declared here to avoid pulling in all includes, which causes name collissions */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy