diff options
author | Peter Åstrand <astrand@cendio.se> | 2011-08-23 12:04:46 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2011-08-23 12:04:46 +0000 |
commit | c359f36e692173e90f949733f0e454e8cd2b8caf (patch) | |
tree | 920b1b25e337380d8040f013fd93da6a82696399 /vncviewer/Win32PixelBuffer.cxx | |
parent | 92b4f9de986c5a9b72af8af61b8d3afcab1581d5 (diff) | |
download | tigervnc-c359f36e692173e90f949733f0e454e8cd2b8caf.tar.gz tigervnc-c359f36e692173e90f949733f0e454e8cd2b8caf.zip |
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
Diffstat (limited to 'vncviewer/Win32PixelBuffer.cxx')
-rw-r--r-- | vncviewer/Win32PixelBuffer.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/Win32PixelBuffer.cxx b/vncviewer/Win32PixelBuffer.cxx index 8f9bf024..626bb967 100644 --- a/vncviewer/Win32PixelBuffer.cxx +++ b/vncviewer/Win32PixelBuffer.cxx @@ -17,6 +17,10 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <assert.h> #include <stdlib.h> |