]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/jpg-httpd.cxx
Merge branch 'next' into durk-atc
[flightgear.git] / src / Network / jpg-httpd.cxx
index 208a6a71b0177bb82fab2dbf09d9e536501bb87a..55e5e79c02c44619fddf7c50dfcebda0f9abfe50 100644 (file)
@@ -31,9 +31,9 @@
 
 #include <simgear/compiler.h>
 
-#include <stdlib.h>            // atoi() atof()
+#include <cstdlib>             // atoi() atof()
 
-#include <string>
+#include <cstring>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/io/iochannel.hxx>
@@ -52,6 +52,7 @@
 #define __HTTP_GET_STRING           "GET "
 
 #include <osgUtil/SceneView>
+#include <osgViewer/Viewer>
 extern osg::ref_ptr<osgUtil::SceneView> sceneView;
 
 using std::string;
@@ -74,7 +75,7 @@ bool FGJpegHttpd::open() {
 
 
 bool FGJpegHttpd::process() {
-    netChannel::poll();
+    simgear::NetChannel::poll();
 
     return true;
 }