projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c7da5
)
Add required include to build with cygwin.
author
Magnus Hagander
<magnus@hagander.net>
Tue, 18 Nov 2008 21:17:26 +0000
(21:17 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 18 Nov 2008 21:17:26 +0000
(21:17 +0000)
Andrew Chernow
src/test/thread/thread_test.c
patch
|
blob
|
blame
|
history
diff --git
a/src/test/thread/thread_test.c
b/src/test/thread/thread_test.c
index 123e6363b8a55a1c4d2e9d7b3dc9ae21ce10ffb3..2fe305f8ac4a253600137a16753915b54298d2f9 100644
(file)
--- a/
src/test/thread/thread_test.c
+++ b/
src/test/thread/thread_test.c
@@
-47,6
+47,10
@@
typedef char bool;
#include <fcntl.h>
#include <errno.h>
+/* CYGWIN requires this for MAXHOSTNAMELEN */
+#ifdef __CYGWIN__
+#include <sys/param.h>
+#endif
/******************************************************************
* Windows Hacks