These files don't use anything from this header, so remove the include.
This exposes some missing includes in other places, though. So add an
explicit include in the files that were relying on an indirect
inclusion.
#include <rfb/CMsgHandler.h>
#include <rfb/clipboardTypes.h>
#include <rfb/screenTypes.h>
+#include <rfb/util.h>
static rfb::LogWriter vlog("CMsgHandler");
#include <rfb/msgTypes.h>
#include <rfb/clipboardTypes.h>
+#include <rfb/util.h>
#include <rfb/Exception.h>
#include <rfb/LogWriter.h>
#include <rfb/CMsgHandler.h>
#include <rfb/LogWriter.h>
#include <rfb/Exception.h>
#include <rfb/UserMsgBox.h>
+#include <rfb/util.h>
#include <rdr/AESInStream.h>
#include <rdr/AESOutStream.h>
#include <os/os.h>
#include <rfb/LogWriter.h>
#include <rfb/Exception.h>
#include <rfb/UserMsgBox.h>
+#include <rfb/util.h>
#include <rdr/TLSInStream.h>
#include <rdr/TLSOutStream.h>
#include <os/os.h>
#include <rfb/CConnection.h>
#include <rfb/CSecurityVncAuth.h>
-#include <rfb/util.h>
#include <rfb/Security.h>
extern "C" {
#include <rfb/d3des.h>
#include <rfb/Exception.h>
#include <rfb/LogWriter.h>
+#include <rfb/util.h>
+
#include <rfb/ComparingUpdateTracker.h>
using namespace rfb;
#include <rfb/Decoder.h>
#include <rfb/Exception.h>
#include <rfb/Region.h>
-
#include <rfb/LogWriter.h>
+#include <rfb/util.h>
#include <rdr/Exception.h>
#include <rdr/MemOutStream.h>
#include <rfb/UpdateTracker.h>
#include <rfb/LogWriter.h>
#include <rfb/Exception.h>
+#include <rfb/util.h>
#include <rfb/RawEncoder.h>
#include <rfb/RREEncoder.h>
#include <stdint.h>
#include <rfb/Rect.h>
-#include <rfb/util.h>
namespace rfb {
#include <rfb/Logger.h>
#include <rfb/LogWriter.h>
-#include <rfb/util.h>
using namespace rfb;
#include <string.h>
#include <syslog.h>
-#include <rfb/util.h>
#include <rfb/Logger_syslog.h>
#include <rfb/LogWriter.h>
#include <rfb/PixelFormat.h>
#include <rfb/Rect.h>
#include <rfb/Pixel.h>
-#include <rfb/util.h>
namespace rfb {
#include <rdr/OutStream.h>
#include <rfb/Exception.h>
#include <rfb/PixelFormat.h>
-#include <rfb/util.h>
#ifdef _WIN32
#define strcasecmp _stricmp
#include <rfb/encodings.h>
#include <rfb/EncodeManager.h>
#include <rfb/SSecurity.h>
+#include <rfb/util.h>
#include <rfb/LogWriter.h>
#include <rfb/ScreenSet.h>
#include <rfb/clipboardTypes.h>
#include <rfb/encodings.h>
+#include <rfb/util.h>
using namespace rfb;
#include <rfb/SMsgReader.h>
#include <rfb/Configuration.h>
#include <rfb/LogWriter.h>
+#include <rfb/util.h>
using namespace rfb;
#include <rfb/SSecurityPlain.h>
#include <rfb/SConnection.h>
#include <rfb/Exception.h>
+#include <rfb/util.h>
#include <rdr/InStream.h>
#if !defined(WIN32) && !defined(__APPLE__)
#include <rfb/UnixPasswordValidator.h>
#endif
#include <string.h>
-#include <rfb/util.h>
#include <rfb/ServerCore.h>
rfb::IntParameter rfb::Server::idleTimeout
#define __RFB_SERVER_CORE_H__
#include <rfb/Configuration.h>
-#include <rfb/util.h>
namespace rfb {
#define XK_MISCELLANY
#define XK_XKB_KEYS
#include <rfb/keysymdef.h>
+#include <rfb/util.h>
using namespace rfb;
#include <string.h>
#include <rfb/encodings.h>
-#include <rfb/util.h>
int rfb::encodingNum(const char* name)
{
#include <rfb/LogWriter.h>
#include <rfb/CMsgWriter.h>
+#include <rfb/util.h>
#include "DesktopWindow.h"
#include "OptionsDialog.h"
#include <rfb/LogWriter.h>
#include <rfb/Exception.h>
#include <rfb/ledStates.h>
+#include <rfb/util.h>
// FLTK can pull in the X11 headers on some systems
#ifndef XK_VoidSymbol
#define __RFB_WIN32_ABOUT_DIALOG_H__
#include <rfb_win32/Dialog.h>
-#include <rfb/util.h>
extern const char* buildTime;
#include <rfb_win32/SDisplayCorePolling.h>
#include <rfb/LogWriter.h>
-#include <rfb/util.h>
using namespace rfb;
using namespace rfb::win32;
#include <rfb_win32/ModuleFileName.h>
#include <rfb/Configuration.h>
#include <rfb/Blacklist.h>
+#include <rfb/util.h>
#include <network/TcpSocket.h>
static rfb::IntParameter port_number("PortNumber",
#include <vncconfig/Legacy.h>
#include <rfb/LogWriter.h>
+#include <rfb/util.h>
#include <rfb_win32/CurrentUser.h>
using namespace rfb;
#include <winvnc/VNCServerService.h>
#include <rfb/LogWriter.h>
+#include <rfb/util.h>
#include <rfb_win32/TsSessions.h>
#include <rfb_win32/ModuleFileName.h>
#include <windows.h>
#include <rfb/Logger_stdio.h>
#include <rfb/Logger_file.h>
#include <rfb/LogWriter.h>
+#include <rfb/util.h>
#include <rfb_win32/AboutDialog.h>
#include <rfb_win32/MsgBox.h>
#include <network/TcpSocket.h>