Revert "Ick, further fixes for Linux/MSVC"

This reverts commit 5f07efa12a.
This commit is contained in:
James Turner 2011-08-22 10:14:55 +01:00
parent 5f07efa12a
commit 9699d76dcb
2 changed files with 5 additions and 4 deletions

View File

@ -463,8 +463,6 @@
RelativePath="..\..\simgear\io\raw_socket.hxx" RelativePath="..\..\simgear\io\raw_socket.hxx"
> >
</File> </File>
<File RelativePath="..\..\simgear\io\HostLookup.cxx"></File>
<File RelativePath="..\..\simgear\io\HostLookup.hxx"></File>
<File <File
RelativePath="..\..\simgear\io\sg_binobj.cxx" RelativePath="..\..\simgear\io\sg_binobj.cxx"
> >

View File

@ -24,7 +24,10 @@
#define SG_IO_SOCKET_HXX #define SG_IO_SOCKET_HXX
#include <errno.h> #include <errno.h>
#include <netinet/in.h>
#if defined(__APPLE__) || defined(__FreeBSD__)
# include <netinet/in.h>
#endif
namespace simgear namespace simgear
{ {