]> git.mxchange.org Git - simgear.git/commitdiff
Include ws2tcpip.h header (for getaddrinfo) on Windows
authorJames Turner <zakalawe@mac.com>
Wed, 24 Aug 2011 10:25:37 +0000 (11:25 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 24 Aug 2011 10:25:37 +0000 (11:25 +0100)
simgear/io/raw_socket.cxx

index 7fe2c6884cb61ca49dd07915a74a7bcce7e93bc2..ecc8671fa8a9b76c0fbb5de2ca3b8dcb803081c6 100644 (file)
@@ -39,7 +39,8 @@
 #include <errno.h>
 
 #if defined(WINSOCK)
-#  include <winsock.h>
+#  include <winsock2.h>
+#  include <ws2tcpip.h>
 #  include <stdarg.h>
 #else
 #  include <sys/types.h>