From b6d6db9b7c49898a663e9a9bc309ba10275a65f4 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 30 Dec 2021 10:20:13 +0100 Subject: 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. --- win/rfb_win32/MsgWindow.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win/rfb_win32/MsgWindow.cxx') diff --git a/win/rfb_win32/MsgWindow.cxx b/win/rfb_win32/MsgWindow.cxx index 8086bea0..5aadb434 100644 --- a/win/rfb_win32/MsgWindow.cxx +++ b/win/rfb_win32/MsgWindow.cxx @@ -19,6 +19,10 @@ // -=- MsgWindow.cxx +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- cgit v1.2.3