]> git.mxchange.org Git - simgear.git/commitdiff
Revert "Ick, further fixes for Linux/MSVC"
authorJames Turner <zakalawe@mac.com>
Mon, 22 Aug 2011 09:14:55 +0000 (10:14 +0100)
committerJames Turner <zakalawe@mac.com>
Mon, 22 Aug 2011 09:14:55 +0000 (10:14 +0100)
This reverts commit 5f07efa12af93a7356930ddc1abc77a947f22092.

projects/VC90/SimGear.vcproj
simgear/io/raw_socket.hxx

index 24678e83577d5293cc4097dd4e43e5cbdca562a8..34aa57522ebcc2283982519b60fec08555bce6fc 100644 (file)
                                RelativePath="..\..\simgear\io\raw_socket.hxx"\r
                                >\r
                        </File>\r
-                       <File RelativePath="..\..\simgear\io\HostLookup.cxx"></File>\r
-                       <File RelativePath="..\..\simgear\io\HostLookup.hxx"></File>\r
                        <File\r
                                RelativePath="..\..\simgear\io\sg_binobj.cxx"\r
                                >\r
                                RelativePath="..\..\simgear\scene\tgdb\userdata.hxx"\r
                                >\r
                        </File>\r
-               </Filter>\r
+               </Filter>
                <Filter\r
                        Name="Lib_sgtsync"\r
                        >\r
index e3f50daf67af17a710b1d5396458dcbda188ea6c..1af74ce0e8d946baaeda685d84c748fbb3705ec7 100644 (file)
 #define SG_IO_SOCKET_HXX
 
 #include <errno.h>
-#include <netinet/in.h>
+
+#if defined(__APPLE__) || defined(__FreeBSD__)
+#  include <netinet/in.h>
+#endif
 
 namespace simgear
 {