From c359f36e692173e90f949733f0e454e8cd2b8caf Mon Sep 17 00:00:00 2001 From: Peter Åstrand Date: Tue, 23 Aug 2011 12:04:46 +0000 Subject: Make sure to include config.h in every compilation unit. Otherwise, the necessary defines will only be visible as a side effect of including other headers, leading to problems with things like translations, which will fail in various places. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4646 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- vncviewer/vncviewer.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vncviewer/vncviewer.cxx') diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 4c7e2122..6fea1992 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -18,6 +18,10 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- cgit v1.2.3