aboutsummaryrefslogtreecommitdiff
path: root/src/test/examples/testlibpq3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/examples/testlibpq3.c')
-rw-r--r--src/test/examples/testlibpq3.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c
index ef573802a5d..ab035887f7b 100644
--- a/src/test/examples/testlibpq3.c
+++ b/src/test/examples/testlibpq3.c
@@ -1,5 +1,5 @@
/*
- * $PostgreSQL: pgsql/src/test/examples/testlibpq3.c,v 1.16 2009/06/11 14:49:15 momjian Exp $
+ * $PostgreSQL: pgsql/src/test/examples/testlibpq3.c,v 1.17 2009/12/31 00:16:47 adunstan Exp $
*
*
* testlibpq3.c
@@ -25,8 +25,14 @@
* t = (8 bytes) 'ho there'
* b = (5 bytes) \004\003\002\001\000
*/
+
+#ifdef WIN32
+#include <windows.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <sys/types.h>
#include "libpq-fe.h"