From: ehofman Date: Mon, 26 Oct 2009 19:52:11 +0000 (+0000) Subject: MSVC fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=290bef57494c6849bf6d80e6832e6c7c2dba0bbc;p=flightgear.git MSVC fix --- 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