Ick, further fixes for Linux/MSVC

This commit is contained in:
James Turner 2011-08-22 09:10:38 +01:00
parent a175033e3b
commit 5f07efa12a
2 changed files with 4 additions and 5 deletions

View File

@ -463,6 +463,8 @@
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,10 +24,7 @@
#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
{ {