]> source.dussan.org Git - tigervnc.git/commitdiff
Make sure to include config.h in every compilation unit. Otherwise,
authorPeter Åstrand <astrand@cendio.se>
Tue, 23 Aug 2011 12:04:46 +0000 (12:04 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 23 Aug 2011 12:04:46 +0000 (12:04 +0000)
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/CConn.cxx
vncviewer/DesktopWindow.cxx
vncviewer/OSXPixelBuffer.cxx
vncviewer/OptionsDialog.cxx
vncviewer/ServerDialog.cxx
vncviewer/UserDialog.cxx
vncviewer/Viewport.cxx
vncviewer/Win32PixelBuffer.cxx
vncviewer/X11PixelBuffer.cxx
vncviewer/parameters.cxx
vncviewer/vncviewer.cxx

index 6f6a21a7c27b4cc1927c801554ceeb6b0fc10798..d69cd4e1dfc62f8ead04dc8578ab91944866df39 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #ifndef _WIN32
 #include <unistd.h>
index 6ff631c7f87781ef1c9b78d9f5c05296f51ce404..47109fb87a9e4d72bba41174ee6281443f973d5c 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
index b5882d7abbdfa498a4b9b19d83df1764964860cc..77b435dd63a4ad564d05c5f0c556d55fd9670772 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <ApplicationServices/ApplicationServices.h>
index 20465b552e5a98a76384a6785cff89a4fb54e7cc..ca5572bd148eec8f66826c2a814bcfc488b579df 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 
 #include <list>
index 9d0d15729e139f8e891a8b078a55e7f371faf739..4f21eb1c331df4f6808495b32d135f9b918de64c 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <FL/Fl.H>
 #include <FL/Fl_Input.H>
 #include <FL/Fl_Button.H>
index 0c2559f38d3e25419f1d7c2716aac937525774b8..f36d84370d9dc9bb5c38a5cc89dc188f5705ae9c 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
index 0936a632e9133c128250e349fb4a1c291b54dd0d..72de8e8823c7ddd350f6dfd1b605c4a679d49412 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
index 8f9bf024de9fc08f80eef5a528323802d7b2d1f2..626bb967af8643369b5543bc57de3e8d515a1922 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdlib.h>
 
index a3f8ebfd39411d5c58101bf2ccdeee486e2d2932..548591e111d49e3d2d0f46a98435efd76e174fd6 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdlib.h>
 
index f88aa5cdfc9254b3a1750caa698e62fed8fafe7c..99b224e6c49e01c24d19c1a6edacba120a51d28e 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "parameters.h"
 
 using namespace rfb;
index 4c7e21224d2f55ddac650a353204f9a1e9bef403..6fea19928db80d03e4488c0f05ccc8debf30b9b1 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>