From 290bef57494c6849bf6d80e6832e6c7c2dba0bbc Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 26 Oct 2009 19:52:11 +0000 Subject: [PATCH] MSVC fix --- src/Main/fg_init.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 8ac8701d2..008ac5018 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -37,6 +37,7 @@ # define getcwd _getcwd # include // isatty() # define isatty _isatty +# include "Winsock2.h" // for gethostname() #endif // work around a stdc++ lib bug in some versions of linux, but doesn't