It doesn't use any exceptions, so stop including the header for it.
#include <rfb/PixelBuffer.h>
#include <rfb/VNCServer.h>
#include <rfb/InputHandler.h>
-#include <rfb/Exception.h>
#include <rfb/screenTypes.h>
namespace network { class Socket; }
namespace rfb {
- class VNCServer;
-
class SDesktop : public InputHandler {
public:
// start() is called by the server when the first client authenticates
#include <rfb/ComparingUpdateTracker.h>
#include <rfb/Encoder.h>
+#include <rfb/Exception.h>
#include <rfb/KeyRemapper.h>
#include <rfb/LogWriter.h>
#include <rfb/Security.h>
#include <stdlib.h>
#include <rfb/ComparingUpdateTracker.h>
+#include <rfb/Exception.h>
#include <rfb/KeyRemapper.h>
#include <rfb/LogWriter.h>
#include <rfb/Security.h>
#endif
#ifdef HAVE_XRANDR
#include <X11/extensions/Xrandr.h>
+#include <rfb/Exception.h>
#include <RandrGlue.h>
extern "C" {
void vncSetGlueContext(Display *dpy, void *res);