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. --- unix/vncpasswd/vncpasswd.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'unix/vncpasswd/vncpasswd.cxx') diff --git a/unix/vncpasswd/vncpasswd.cxx b/unix/vncpasswd/vncpasswd.cxx index 8f3649fe..189577b8 100644 --- a/unix/vncpasswd/vncpasswd.cxx +++ b/unix/vncpasswd/vncpasswd.cxx @@ -17,6 +17,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- cgit v1.2.3