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