Add #include postgres_fe.h in two win32-specific files, because there is
authorBruce Momjian <bruce@momjian.us>
Sat, 29 Jul 2006 15:22:27 +0000 (15:22 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 29 Jul 2006 15:22:27 +0000 (15:22 +0000)
pg-specific code in those files, or might be some day.

src/interfaces/libpq/pthread-win32.c
src/interfaces/libpq/win32.c

index 102ae1c6356df04f35a40522a624137b0e511fbe..d1e5938f3753a04fffa885a50d5f81977cc4d3a8 100644 (file)
@@ -10,6 +10,7 @@
 *-------------------------------------------------------------------------
 */
 
+#include "postgres_fe.h"
 
 #include <windows.h>
 #include "pthread-win32.h"
index 2c5a58bef143103e11d6e11b3846f6f5d943970f..2867aba2d55675dfd75a25a90a6a0788d82c29bd 100644 (file)
@@ -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 */