From b554cb75bf3c35c754bf8463206f8487ffea3d90 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sat, 29 Jul 2006 15:22:27 +0000
Subject: [PATCH] Add #include postgres_fe.h in two win32-specific files,
 because there is pg-specific code in those files, or might be some day.

---
 src/interfaces/libpq/pthread-win32.c | 3 ++-
 src/interfaces/libpq/win32.c         | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/interfaces/libpq/pthread-win32.c b/src/interfaces/libpq/pthread-win32.c
index 9901c17f1ae..7feebe741cd 100644
--- a/src/interfaces/libpq/pthread-win32.c
+++ b/src/interfaces/libpq/pthread-win32.c
@@ -5,11 +5,12 @@
 *
 * Copyright (c) 2004-2006, PostgreSQL Global Development Group
 * IDENTIFICATION
-*	$PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.11 2006/03/05 15:59:10 momjian Exp $
+*	$PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.12 2006/07/29 15:22:27 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
 
+#include "postgres_fe.h"
 
 #include <windows.h>
 #include "pthread-win32.h"
diff --git a/src/interfaces/libpq/win32.c b/src/interfaces/libpq/win32.c
index 2c5a58bef14..2867aba2d55 100644
--- a/src/interfaces/libpq/win32.c
+++ b/src/interfaces/libpq/win32.c
@@ -25,8 +25,8 @@
 #endif
 #define NOCRYPT
 
-#include <windows.h>
-#include <stdio.h>
+#include "postgres_fe.h"
+
 #include "win32.h"
 
 /* Declared here to avoid pulling in all includes, which causes name collissions */ 
-- 
GitLab