aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/SocketManager.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-12-30 10:20:13 +0100
committerPierre Ossman <ossman@cendio.se>2021-12-30 10:23:49 +0100
commitb6d6db9b7c49898a663e9a9bc309ba10275a65f4 (patch)
tree3a0dabeb9246269e4d87e0daa47e6729d6b5fc81 /win/rfb_win32/SocketManager.cxx
parent425d8302b44137234e83d62edb70754d114b5cba (diff)
downloadtigervnc-b6d6db9b7c49898a663e9a9bc309ba10275a65f4.tar.gz
tigervnc-b6d6db9b7c49898a663e9a9bc309ba10275a65f4.zip
Be consistent in including config.h
The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
Diffstat (limited to 'win/rfb_win32/SocketManager.cxx')
-rw-r--r--win/rfb_win32/SocketManager.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/rfb_win32/SocketManager.cxx b/win/rfb_win32/SocketManager.cxx
index 393e2191..5463b24f 100644
--- a/win/rfb_win32/SocketManager.cxx
+++ b/win/rfb_win32/SocketManager.cxx
@@ -18,6 +18,10 @@
// -=- SocketManager.cxx
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <winsock2.h>
#include <list>
#include <rfb/LogWriter.h>