From 9699d76dcbbc7f41dafdbbe9e2da153f0bbe28df Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 22 Aug 2011 10:14:55 +0100 Subject: [PATCH 1/1] Revert "Ick, further fixes for Linux/MSVC" This reverts commit 5f07efa12af93a7356930ddc1abc77a947f22092. --- projects/VC90/SimGear.vcproj | 4 +--- simgear/io/raw_socket.hxx | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/projects/VC90/SimGear.vcproj b/projects/VC90/SimGear.vcproj index 24678e83..34aa5752 100644 --- a/projects/VC90/SimGear.vcproj +++ b/projects/VC90/SimGear.vcproj @@ -463,8 +463,6 @@ RelativePath="..\..\simgear\io\raw_socket.hxx" > - - @@ -1465,7 +1463,7 @@ RelativePath="..\..\simgear\scene\tgdb\userdata.hxx" > - + diff --git a/simgear/io/raw_socket.hxx b/simgear/io/raw_socket.hxx index e3f50daf..1af74ce0 100644 --- a/simgear/io/raw_socket.hxx +++ b/simgear/io/raw_socket.hxx @@ -24,7 +24,10 @@ #define SG_IO_SOCKET_HXX #include -#include + +#if defined(__APPLE__) || defined(__FreeBSD__) +# include +#endif namespace simgear { -- 2.39.5