]> git.mxchange.org Git - flightgear.git/commitdiff
MSVC fix
authorehofman <ehofman>
Mon, 26 Oct 2009 19:52:11 +0000 (19:52 +0000)
committerTim Moore <timoore@redhat.com>
Mon, 26 Oct 2009 21:12:10 +0000 (22:12 +0100)
src/Main/fg_init.cxx

index 8ac8701d2ed860ee79db7b4cc9602966be642ef8..008ac5018c45526d469d4acb2fe6588a70470398 100644 (file)
@@ -37,6 +37,7 @@
 #  define getcwd _getcwd
 #  include <io.h>               // isatty()
 #  define isatty _isatty
+#  include "Winsock2.h"                // for gethostname()
 #endif
 
 // work around a stdc++ lib bug in some versions of linux, but doesn't