diff options
author | Magnus Hagander | 2008-11-18 21:17:26 +0000 |
---|---|---|
committer | Magnus Hagander | 2008-11-18 21:17:26 +0000 |
commit | 473688dee983e3dc93425aa3414ffaa88899aa68 (patch) | |
tree | c82213b0a8fbdd6b8c0a9e66d74761903d875054 | |
parent | e3c7da5d40bbcf11ff2e06c7f13beece3155b65c (diff) |
Add required include to build with cygwin.
Andrew Chernow
-rw-r--r-- | src/test/thread/thread_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/thread/thread_test.c b/src/test/thread/thread_test.c index 123e6363b8..2fe305f8ac 100644 --- 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 |