aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-27 10:52:53 +0100
committerPierre Ossman <ossman@cendio.se>2023-02-04 14:03:13 +0100
commit5db843ead6cbf683c2888da377d5d0e0d0d30833 (patch)
tree4b2403fa80e9a1d9a44cc12ba444957eee301994 /win/winvnc
parentfd243a8d3ae8e776fb2af1136feee7f8c083d2da (diff)
downloadtigervnc-5db843ead6cbf683c2888da377d5d0e0d0d30833.tar.gz
tigervnc-5db843ead6cbf683c2888da377d5d0e0d0d30833.zip
Remove unused rfb/util.h includes
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.
Diffstat (limited to 'win/winvnc')
-rw-r--r--win/winvnc/VNCServerService.cxx1
-rw-r--r--win/winvnc/winvnc.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/win/winvnc/VNCServerService.cxx b/win/winvnc/VNCServerService.cxx
index 4754d720..09a0707b 100644
--- a/win/winvnc/VNCServerService.cxx
+++ b/win/winvnc/VNCServerService.cxx
@@ -24,6 +24,7 @@
#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>
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx
index 604df12e..51246407 100644
--- a/win/winvnc/winvnc.cxx
+++ b/win/winvnc/winvnc.cxx
@@ -31,6 +31,7 @@
#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>