]> git.mxchange.org Git - simgear.git/commitdiff
Linux build fixes, now netSocket.h is no longer included.
authorJames Turner <zakalawe@mac.com>
Thu, 22 Jul 2010 21:04:20 +0000 (22:04 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 22 Jul 2010 21:06:02 +0000 (22:06 +0100)
simgear/io/Makefile.am
simgear/io/sg_socket.cxx
simgear/io/sg_socket_udp.cxx

index 1f354897485477c6dcbbc983cd355e8a0968a15a..d61a6165beeabf0de489fbce562967e4a2616d89 100644 (file)
@@ -30,6 +30,7 @@ tcp_server_SOURCES = tcp_server.cxx
 
 tcp_server_LDADD = \
        libsgio.a \
+       $(top_builddir)/simgear/structure/libsgstructure.a \    
        $(top_builddir)/simgear/debug/libsgdebug.a \
        $(top_builddir)/simgear/bucket/libsgbucket.a \
        $(top_builddir)/simgear/misc/libsgmisc.a \
@@ -41,6 +42,7 @@ tcp_client_SOURCES = tcp_client.cxx
 
 tcp_client_LDADD = \
        libsgio.a \
+       $(top_builddir)/simgear/structure/libsgstructure.a \
        $(top_builddir)/simgear/debug/libsgdebug.a \
        $(top_builddir)/simgear/bucket/libsgbucket.a \
        $(top_builddir)/simgear/misc/libsgmisc.a \
@@ -52,6 +54,7 @@ socktest_SOURCES = socktest.cxx
 
 socktest_LDADD = \
        libsgio.a \
+       $(top_builddir)/simgear/structure/libsgstructure.a \
        $(top_builddir)/simgear/debug/libsgdebug.a \
        $(top_builddir)/simgear/bucket/libsgbucket.a \
        $(top_builddir)/simgear/misc/libsgmisc.a \
@@ -63,6 +66,7 @@ lowtest_SOURCES = lowtest.cxx
 
 lowtest_LDADD = \
        libsgio.a \
+       $(top_builddir)/simgear/structure/libsgstructure.a \
        $(top_builddir)/simgear/debug/libsgdebug.a \
        $(top_builddir)/simgear/bucket/libsgbucket.a \
        $(top_builddir)/simgear/misc/libsgmisc.a \
index 14ae296937ee74c574a10dd39f16047f4255d689..636ff3452b19c8719640ccf7eb36ad4a93add1a5 100644 (file)
@@ -28,6 +28,8 @@
 #include <simgear/compiler.h>
 
 #include <iostream>
+#include <cstring>
+#include <cstdlib> // for atoi
 
 #include <simgear/debug/logstream.hxx>
 
index bdc04d1154b143a32292be228a446d759a1dd242..2d2971540f3b698538347154759044a7930995fb 100644 (file)
@@ -30,6 +30,8 @@
 
 #include "sg_socket_udp.hxx"
 
+#include <cstring>
+#include <cstdlib> // for atoi
 
 SGSocketUDP::SGSocketUDP( const string& host, const string& port ) :
     hostname(host),