#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>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
-#include <Main/renderer.hxx>
+#include <Viewer/renderer.hxx>
#include "jpg-httpd.hxx"
#define __HTTP_GET_STRING "GET "
#include <osgUtil/SceneView>
+#include <osgViewer/Viewer>
extern osg::ref_ptr<osgUtil::SceneView> sceneView;
-SG_USING_STD(string);
+using std::string;
bool FGJpegHttpd::open() {
bool FGJpegHttpd::process() {
- netChannel::poll();
+ simgear::NetChannel::poll();
return true;
}