]> source.dussan.org Git - tigervnc.git/commitdiff
Be consistent in including config.h
authorPierre Ossman <ossman@cendio.se>
Thu, 30 Dec 2021 09:20:13 +0000 (10:20 +0100)
committerPierre Ossman <ossman@cendio.se>
Thu, 30 Dec 2021 09:23:49 +0000 (10:23 +0100)
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.

151 files changed:
common/os/Mutex.cxx
common/os/Thread.cxx
common/os/os.h
common/rdr/FileInStream.cxx
common/rdr/HexInStream.cxx
common/rdr/HexOutStream.cxx
common/rdr/RandomStream.cxx
common/rdr/TLSInStream.h
common/rdr/TLSOutStream.h
common/rdr/ZlibInStream.cxx
common/rdr/ZlibOutStream.cxx
common/rfb/Blacklist.cxx
common/rfb/CConnection.cxx
common/rfb/CMsgHandler.cxx
common/rfb/CMsgReader.cxx
common/rfb/CMsgWriter.cxx
common/rfb/CSecurityPlain.cxx
common/rfb/CSecurityStack.cxx
common/rfb/CSecurityTLS.h
common/rfb/CSecurityVeNCrypt.cxx
common/rfb/CSecurityVncAuth.cxx
common/rfb/ClientParams.cxx
common/rfb/ComparingUpdateTracker.cxx
common/rfb/Configuration.cxx
common/rfb/Congestion.cxx
common/rfb/CopyRectDecoder.cxx
common/rfb/Cursor.cxx
common/rfb/DecodeManager.cxx
common/rfb/Decoder.cxx
common/rfb/EncodeManager.cxx
common/rfb/Encoder.cxx
common/rfb/HextileDecoder.cxx
common/rfb/HextileEncoder.cxx
common/rfb/JpegCompressor.cxx
common/rfb/JpegDecompressor.cxx
common/rfb/KeyRemapper.cxx
common/rfb/LogWriter.cxx
common/rfb/Logger.cxx
common/rfb/Logger_file.cxx
common/rfb/Logger_stdio.cxx
common/rfb/Logger_syslog.cxx
common/rfb/Password.cxx
common/rfb/PixelBuffer.cxx
common/rfb/PixelFormat.cxx
common/rfb/RREDecoder.cxx
common/rfb/RREEncoder.cxx
common/rfb/RawDecoder.cxx
common/rfb/RawEncoder.cxx
common/rfb/Region.cxx
common/rfb/SConnection.cxx
common/rfb/SMsgHandler.cxx
common/rfb/SMsgReader.cxx
common/rfb/SMsgWriter.cxx
common/rfb/SSecurityPlain.h
common/rfb/SSecurityStack.cxx
common/rfb/SSecurityTLS.h
common/rfb/SSecurityVeNCrypt.h
common/rfb/SSecurityVncAuth.cxx
common/rfb/ScaleFilters.cxx
common/rfb/ServerCore.cxx
common/rfb/ServerParams.cxx
common/rfb/TightDecoder.cxx
common/rfb/TightEncoder.cxx
common/rfb/TightJPEGEncoder.cxx
common/rfb/Timer.cxx
common/rfb/UpdateTracker.cxx
common/rfb/VNCSConnectionST.cxx
common/rfb/VNCServerST.cxx
common/rfb/WinPasswdValidator.cxx
common/rfb/ZRLEDecoder.cxx
common/rfb/ZRLEEncoder.cxx
common/rfb/encodings.cxx
common/rfb/util.h
tests/perf/convperf.cxx
tests/perf/decperf.cxx
tests/perf/encperf.cxx
tests/perf/fbperf.cxx
tests/perf/util.cxx
tests/unit/conv.cxx
tests/unit/convertlf.cxx
tests/unit/emulatemb.cxx
tests/unit/gesturehandler.cxx
tests/unit/hostport.cxx
tests/unit/pixelformat.cxx
tests/unit/unicode.cxx
unix/common/unixcommon.h
unix/tx/TXWindow.cxx
unix/vncconfig/QueryConnectDialog.cxx
unix/vncconfig/vncExt.c
unix/vncconfig/vncconfig.cxx
unix/vncpasswd/vncpasswd.cxx
unix/x0vncserver/Geometry.cxx
unix/x0vncserver/Image.cxx
unix/x0vncserver/PollingManager.cxx
unix/x0vncserver/PollingScheduler.cxx
unix/x0vncserver/RandrGlue.c
unix/x0vncserver/TimeMillis.cxx
unix/x0vncserver/XDesktop.cxx
unix/x0vncserver/XPixelBuffer.cxx
unix/x0vncserver/x0vncserver.cxx
unix/xserver/hw/vnc/RFBGlue.cc
unix/xserver/hw/vnc/XserverDesktop.cc
unix/xserver/hw/vnc/vncExtInit.cc
vncviewer/MonitorArrangement.cxx
vncviewer/MonitorIndicesParameter.cxx
vncviewer/PlatformPixelBuffer.cxx
vncviewer/Surface.cxx
vncviewer/Surface_OSX.cxx
vncviewer/Surface_Win32.cxx
vncviewer/Surface_X11.cxx
vncviewer/menukey.cxx
vncviewer/win32.c
win/rfb_win32/AboutDialog.cxx
win/rfb_win32/CleanDesktop.cxx
win/rfb_win32/Clipboard.cxx
win/rfb_win32/CurrentUser.cxx
win/rfb_win32/DIBSectionBuffer.cxx
win/rfb_win32/DeviceContext.cxx
win/rfb_win32/DeviceFrameBuffer.cxx
win/rfb_win32/Dialog.cxx
win/rfb_win32/EventManager.cxx
win/rfb_win32/LaunchProcess.cxx
win/rfb_win32/ListViewControl.cxx
win/rfb_win32/MonitorInfo.cxx
win/rfb_win32/MsgWindow.cxx
win/rfb_win32/RegConfig.cxx
win/rfb_win32/Registry.cxx
win/rfb_win32/SDisplay.cxx
win/rfb_win32/SDisplayCorePolling.cxx
win/rfb_win32/SDisplayCoreWMHooks.cxx
win/rfb_win32/SInput.cxx
win/rfb_win32/Security.cxx
win/rfb_win32/Service.cxx
win/rfb_win32/SocketManager.cxx
win/rfb_win32/TCharArray.cxx
win/rfb_win32/TsSessions.cxx
win/rfb_win32/WMCursor.cxx
win/rfb_win32/WMHooks.cxx
win/rfb_win32/WMNotifier.cxx
win/rfb_win32/WMPoller.cxx
win/rfb_win32/WMShatter.cxx
win/rfb_win32/WMWindowCopyRect.cxx
win/rfb_win32/Win32Util.cxx
win/winvnc/ControlPanel.cxx
win/winvnc/ManagedListener.cxx
win/winvnc/QueryConnectDialog.cxx
win/winvnc/STrayIcon.cxx
win/winvnc/VNCServerService.cxx
win/winvnc/VNCServerWin32.cxx
win/winvnc/winvnc.cxx
win/wm_hooks/wm_hooks.cxx

index 13013cfbbd08ee26e1f8859abb085e64b7929ba6..e6532a7de7d6ce094568b9bdfc1f5702822ff5fa 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <windows.h>
 #else
index 2b08dbf976cc752b45e87a5b6610a4ca9fdddb46..92cc68d5388105b3cfd8a6b3ee84b2b6b0136c13 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <windows.h>
 #else
index 6a8272f122fe5a2a4461e7c5d7507becff0e809e..9b1de597df35662749aee1a326bc0277924907ba 100644 (file)
 #ifndef OS_OS_H
 #define OS_OS_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <os/w32tiger.h>
 
 /*
index 9975fde6054cf7ec331719d3c3be0c45a7651588..198b9ab9c8399e90df420b9447c1a2cff39d0e4b 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <errno.h>
 
 #include <rdr/Exception.h>
index c31623b6966c74c9db38ee95a712558b56128dbd..9f871f1a2b670c784d2c83890daccfaeaf07cae2 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/HexInStream.h>
 #include <rdr/Exception.h>
 
index 798f6bdfdc20b225da1d67116246fc5cc05a4ee6..85aff47ba9b6b938322217562fa6c1f73f733248 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/HexOutStream.h>
 #include <rdr/Exception.h>
 
index e2da095732acf55a2987ab62199db378478b0921..ec3672120cdf4bc87cdd859b33f3383aad977062 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/RandomStream.h>
 #include <rdr/Exception.h>
 #include <rfb/LogWriter.h>
index 8fe35d263e87cff536cd4fe19290d9f5d1c85964..4564d118c5b85c5bd7a7afe7d29da2af1a70e283 100644 (file)
 #ifndef __RDR_TLSINSTREAM_H__
 #define __RDR_TLSINSTREAM_H__
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #ifdef HAVE_GNUTLS
 
 #include <gnutls/gnutls.h>
index c557912768bea7d8a3744100ce2bca702e92ded3..5e725bd51f5c45126a5133fb52373a50fa884357 100644 (file)
 #ifndef __RDR_TLSOUTSTREAM_H__
 #define __RDR_TLSOUTSTREAM_H__
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #ifdef HAVE_GNUTLS
 #include <gnutls/gnutls.h>
 #include <rdr/OutStream.h>
index 0cacc21f3f18bf4fd90dee1d1684118da3720458..377147ac76247f46a22990cf5771550c4a34a46c 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <rdr/ZlibInStream.h>
index ba6f1785599414dcb6263c55c80b8a066b1b2a18..0d4d39a757283358022660776ea647a2fc0eb6f6 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rdr/ZlibOutStream.h>
index 86917c1421b0e22f87483f6aa399dce58c6557c3..f052eafb6469dbd6aaa59d5fdcf1395b937f4ae4 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Blacklist.h>
 #include <rfb/Configuration.h>
 
index 1c9490095cce1e2c7f5fe5c11d5d527e34254d47..c474921b463b970fd279d4557cff7f2820c184d8 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
index c6ab87ef1dc18b65e8f8844905af713f2d42ef85..8cdfc451ff5fe2719f2715505758d080518ff194 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rfb/Exception.h>
index 2c823d5624fa0ba1ad6bcac452e9d639c13bb658..88a31eca65027003018203736b2c002865f4f8fc 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdio.h>
 
index c452f5eb88edb49e89b8ca1379e9ac4337e81ab7..0ac1bd73bdf1ea61ca8fe472d278e3bb957058d6 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rdr/OutStream.h>
index b2fb7364fe5b539a9b198403026de1e51e622060..464dfcb5fc43f9282ad63adc8eba7dd7859961cf 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/CConnection.h>
 #include <rfb/CSecurityPlain.h>
 #include <rfb/UserPasswdGetter.h>
index 2541d81efa6de1a7089d84cd3fe6f9f1fea1b9d5..5691fd48577f59e1c8dbaddc8d1de54de05e95ed 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/CSecurityStack.h>
 
 using namespace rfb;
index 9709926e3e10e849ad603050419c9269215114d8..c21d9d8e22124fec374a705cee95aa72ca717090 100644 (file)
 #ifndef __C_SECURITY_TLS_H__
 #define __C_SECURITY_TLS_H__
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #ifndef HAVE_GNUTLS
 #error "This header should not be compiled without HAVE_GNUTLS defined"
 #endif
index c0fe3273f041e390d21ae57452e57d15bb6ec02e..6040dd34691d4222d82a8afd4ad4e2dfec12a667 100644 (file)
 // CSecurityVeNCrypt
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Exception.h>
 #include <rdr/InStream.h>
 #include <rdr/OutStream.h>
index 78a3a061519056f63eb036377d61260972cd5939..a899b5e7d13f160ee6203f35b1c6998438bc0dbb 100644 (file)
 // XXX not thread-safe, because d3des isn't - do we need to worry about this?
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <stdio.h>
 
index c0cc36416bd507472e10d92c2b5099edc9e60397..d933aa3488050c4293dbfd05359e15cca0e13d75 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Exception.h>
 #include <rfb/encodings.h>
 #include <rfb/ledStates.h>
index 14ed908c22f5a6c012ab407f33efd2155cb0c94b..e0964ac29427b50d6a02984e8de8eadc205557c4 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <vector>
index d5d3f2520a3b2e0ee82213288521852d4f8f17c6..8848e08da8182bf9669b18fdb19b39c9f7df7a04 100644 (file)
 
 // -=- Configuration.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
index f3f9ceea8eef8d1fe75935414f5a04ab80190db1..32339a1414e92c4eda355b06f8d36ee9171f45d6 100644 (file)
  * as we have too much noise for it to be reliable.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <sys/time.h>
 
index bca8da481d3cd01b5104ba0539f3923b973a59d9..82ae06f1e7e8b94406417085941bbb2792f1c130 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/MemInStream.h>
 #include <rdr/OutStream.h>
 #include <rfb/PixelBuffer.h>
index 3ca69f7cdd5fba55e6673f56d625aa29094671eb..425cc8c45df3b36752b45e3d863cc951f2267b7b 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <string.h>
 #include <rfb/Cursor.h>
index b05683bbc789c0382e284c99e2486b4c3deb3e00..b9faf68931599315a73b2502e18927cc8e68859c 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <string.h>
 
index 9827a73279b81a52524dc590c9a191c3f5b39275..72641a4313f73eddc8b79dc4b9a0acd572fb6e00 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <rfb/encodings.h>
 #include <rfb/Region.h>
index a29502ae9e20757d745d32e109b45c3b0ed96f21..e49fa254267dcd60ba2589560c018ea77fb0320e 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 
 #include <rfb/EncodeManager.h>
index 0e29f1dfcd5dc03ec7fafc3a5a772c02f0073fbf..d6d4a81dd1afae6a16df188a6aaa48756f3a2b79 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Encoder.h>
 #include <rfb/PixelBuffer.h>
 #include <rfb/Palette.h>
index 34392ea8966ef5ff434a2a562175e34aa0f0a610..73655da08ed1b08af03e56bee5f883217ec9e1df 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/InStream.h>
 #include <rdr/MemInStream.h>
 #include <rdr/OutStream.h>
index 1e20eb92f637fe27fbd30a5f1f4392aad9f02ff6..e3845a83b064f84f078ef754ca378f1e1eb85777 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/encodings.h>
 #include <rfb/SConnection.h>
 #include <rfb/HextileEncoder.h>
index 64c6d3f063ebdf2d1dcfaa47d5ec927b4d692fd6..18d34c3d4500d5b1e5d710a6958f5b771d8550e1 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/JpegCompressor.h>
 #include <rdr/Exception.h>
 #include <rfb/Rect.h>
index 4f94faa8e9b8da0c88f0f4afb2df1c6782914601..7b24e783faf41a656ec4f6e40bb3da5db8c4522b 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/JpegDecompressor.h>
 #include <rdr/Exception.h>
 #include <rfb/Rect.h>
index b4c2793c9d20a13acc1953667cd274638ad42ff8..1431a21ec3fa8e7ebcaef8c3395b998c0358e05e 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <os/Mutex.h>
index d0eaed6ccbda058a3bb5e49acc1b746a5f5c1012..7feee2fedb6aba369f6eb329fd429f0b6253eef1 100644 (file)
 
 // -=- LogWriter.cxx - client-side logging interface
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include <rfb/LogWriter.h>
index ad10a4cf5bb620b5ff736ead73a582df7c1b58cd..e815dad4e503d2fa89ffc41a60184ee2a962b4ee 100644 (file)
 
 // -=- Logger.cxx - support for the Logger and LogWriter classes
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdarg.h>
 #include <stdio.h>
 #include <string.h>
index 149ad404206018953dce7935327e313c6ad1324f..89ff7433266f3745e15e5f9a87938b6cbbb2e703 100644 (file)
 
 // -=- Logger_file.cxx - Logger instance for a file
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 
index 581dcd5b95a0617309ee759f0aa1a7f879d8ec80..5e5c6dea93dbb3e5126b3d9101f42c71361aceb1 100644 (file)
 
 // -=- Logger_stdio.cxx - Logger instances for stderr and stdout
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Logger_stdio.h>
 
 using namespace rfb;
index dc1d0c1acb3a4de983db8b1d274acf30ab71a1b2..0f5c842388f7fc48b1c810c38ce6cf52023aadc4 100644 (file)
 
 // -=- Logger_syslog.cxx - Logger instance for a syslog
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <syslog.h>
index e4a508c8bf1c0bc8de25f8adb5ca4d43968826e0..a7aaeccc6ec8496d96eb8cac7a8123ee48de4b59 100644 (file)
 // XXX not thread-safe, because d3des isn't - do we need to worry about this?
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 extern "C" {
 #include <rfb/d3des.h>
index fe406b966d101e9688bea83e90685feb80e5cbc2..1b39a9ec7f00585eac1aecc0dd59ff335a80e86f 100644 (file)
 // The PixelBuffer class encapsulates the PixelFormat and dimensions
 // of a block of pixel data.
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Exception.h>
 #include <rfb/LogWriter.h>
 #include <rfb/PixelBuffer.h>
index 1b4ab1ba16701d0078c0b0e089c28575629e63b1..0abf53b61ad5407df8bb9889ece46c3a5a7113a3 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdio.h>
 #include <stdint.h>
index af821cb98f8c3321f8b99d7ebd92edba6dff39bc..a08189874be36a2efc89d5da940597a321ce0400 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/InStream.h>
 #include <rdr/MemInStream.h>
 #include <rdr/OutStream.h>
index 83585490b8929ba487197e293370cfdcacf64945..f5b9be72f384c9fede965ae504c5531230d2c2e0 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/OutStream.h>
 #include <rfb/encodings.h>
 #include <rfb/SConnection.h>
index a7648f973b07677d2adf97113eef752555dbbf5f..a86696e95e5469d2f2200f9aef5deb281a7e56a2 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <rdr/OutStream.h>
index b12cf06f6f914466c4e2abe816ad35a17e7826ed..a820c32cb2973850c2be2bf9f40b4b39320d232d 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/OutStream.h>
 #include <rfb/encodings.h>
 #include <rfb/SConnection.h>
index 2664fb11badb258fc9c20a33aa861210f3b93b78..fecc881e6c93ee7d220917d5f8846d9a8af63351 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Region.h>
 #include <rfb/LogWriter.h>
 
index 8277844c65102b47abf4daef2d854c01f050fd41..02865af18350310fa0601231c7a15e0603f9f03d 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <rfb/Exception.h>
index 972facb093bb395c60a0c5a58f4544c376a9f13e..0f813178998df57437fd239ea515f606020b65da 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Exception.h>
 #include <rfb/LogWriter.h>
 #include <rfb/SMsgHandler.h>
index 63188f213732d9fa0f38c17ebaa50ecccf7e45b3..a2cb8bf8a096746c4965e27320f2a5064e0acb25 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rdr/InStream.h>
index 2f40c0a67b672d068ee915d4fe13c2e863d0fc20..c8b50b67b3baf53a86c2096a4c6aa4c4a8ad86ed 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rdr/OutStream.h>
index 4b12da055293837ab54fa51c66f8c5a000286d91..1a81addac78caeb9363332667cd0e45a88c510f4 100644 (file)
 #ifndef __RFB_SSECURITYPLAIN_H__
 #define __RFB_SSECURITYPLAIN_H__
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <rfb/SConnection.h>
 #include <rfb/SSecurity.h>
 #include <rfb/SSecurityVeNCrypt.h>
index 8139511347c464e8f27f4e288e81faaec328a9e3..8b1c2a47b16026185751e3b801086884bcb32ad1 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/SSecurityStack.h>
 
 using namespace rfb;
index 0cb463d46d6cd9be3285f3b3b2651a72b44605c1..4e06d6ba2007068d1d50eb2d8834e85ea146af88 100644 (file)
 #ifndef __S_SECURITY_TLS_H__
 #define __S_SECURITY_TLS_H__
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #ifndef HAVE_GNUTLS
 #error "This header should not be included without HAVE_GNUTLS defined"
 #endif
index 06758b881b1ddf2a68d2cd9144eb46ee161cf318..afbf724752e6c8ad5a8d32ef4998b7db924e1c69 100644 (file)
 #ifndef __SSECURITYVENCRYPT_H__
 #define __SSECURITYVENCRYPT_H__
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <rfb/SSecurityStack.h>
 #include <rfb/SConnection.h>
 
index c2a348b93ab6ada4634540d7a943f5537dc7f784..a19404d3c6741a10722ab862890af2acc548e820 100644 (file)
 // XXX not thread-safe, because d3des isn't - do we need to worry about this?
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/SSecurityVncAuth.h>
 #include <rdr/RandomStream.h>
 #include <rfb/SConnection.h>
index 3e414d907b671047244dc91f4bf10a3b5bb3110f..823dc740bbdd6390bcc0322b5c7d1e1f06488ad8 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <assert.h>
 #include <math.h>
index 8f49848c91d28d7757d3ae752804beea882b2fdf..274458faa4bafb2d1d49e8c311d827c66792a3d6 100644 (file)
 // This header will define the Server interface, from which ServerMT and
 // ServerST will be derived.
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <rfb/util.h>
 #include <rfb/ServerCore.h>
index a9a96b6e74488af09c1be7e80e4080c17cd23fd6..729b3cfb2419acd4b10e087ca996f68e3c75982e 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/Exception.h>
 #include <rfb/ledStates.h>
 #include <rfb/ServerParams.h>
index fe03e453a65c65b3b1659d5e92e9959ea08c12b4..ce01104ee2c8985fdb0aa6fda1980b36ef0be8b6 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <rdr/InStream.h>
index 5cefa5c5fabc9f32c7b95049b4ab15d716c28727..5cce03e9ae4b413bb8dc83c978692ac48e5d8f32 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <rdr/OutStream.h>
index 755753898f0ae5443a1f7b0dbc53add69bd11352..11701e74a7a6c19ac49fe04dd5a1248c656d18a4 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/OutStream.h>
 #include <rfb/encodings.h>
 #include <rfb/SConnection.h>
index b9dd2f6dada801b8c982372051cc2dc649fd1649..4ff15bc595bc61768fc4e0e7a7af5d67833b666f 100644 (file)
 
 // -=- Timer.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <sys/time.h>
 
index 28e916d55e9908394d84b1a711626566a9879c4a..7c97a6b84d841785882be6e1e321ed4bf25a935f 100644 (file)
 // Tracks updated regions and a region-copy event, too
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/UpdateTracker.h>
 #include <rfb/LogWriter.h>
 
index a966e66cb1b6d6b544335fe5ce77e609deda75b4..f51fb57b978b542b9c054be96a2a7e0016cecaac 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <network/TcpSocket.h>
 
 #include <rfb/ComparingUpdateTracker.h>
index fcc93a4ef71e65d632bde381f094cf9f49e83d01..3a7caf5cb9b2497e6153fd3f054e7251081e1e6d 100644 (file)
 // otherwise blacklisted connections might be "forgotten".
 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdlib.h>
 
index 22efcc0c4c1ed2f546995fb115de9dff43697e21..b2edde5f6eb18649b590f7c7864ac8c3b0f12ecc 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/WinPasswdValidator.h>
 #include <windows.h>
 #include <tchar.h>
index 4fba0c226e7477e2eb96469739579c0340b6d927..3c7ed2cedd31f874030651fb1401be71a2a38686 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/InStream.h>
 #include <rdr/MemInStream.h>
 #include <rdr/OutStream.h>
index c055c5270e5c172bf4959204a9fb40667cd27e1a..ff70c6eef541a5881fb3230932e4be9f61dfa7a4 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rdr/OutStream.h>
 #include <rfb/Exception.h>
 #include <rfb/encodings.h>
index 190e032412cadb4fbd821841b254b8cf7f392f2a..7c9c740809b29c7bd590ed2824fed40df626119c 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <rfb/encodings.h>
 #include <rfb/util.h>
index eac72dd017b507081deedaf953d305821fe27766..f0ac9ef8428b95661f335d6b25b8925d020f411a 100644 (file)
 #ifndef __RFB_UTIL_H__
 #define __RFB_UTIL_H__
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <limits.h>
 #include <string.h>
 
index e4a3fd52439aed48a2b39acbde8fb8cd83eed42a..4897f159f22d6d7b3adb9dd185d7c9008790431b 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 23f3fe24a3378a81c648081d4b25a665c078256d..216741273514fafd01bd1dec8cd85eeee1b6a5c9 100644 (file)
  * format.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
index 69121ffa4db90eddb1c73e7ff36d9799702ba2b1..8fb9553d466fe1a687991e87ca36148aa8c445da 100644 (file)
  * are not encoded in the file and must be specified by the user.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define __USE_MINGW_ANSI_STDIO 1
 
 #include <stdio.h>
index a19ee47901920103b00f05c77d3935201dd994ac..2b21bdd871cc5b6d6d87d1bd792267cd12b0aaff 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <math.h>
 #include <sys/time.h>
 
index 17a8369888cde0aa3ad7987e9cc9bfd07986fb02..98b2568e87301886745a2e114a8d4e6ed15ff9a0 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
index 3901b9d17cb14eecb284e678e97d8e26e605e908..b14f8987b7a90580712e82d57a9e61f4d0ef9a3a 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 6bd98fe26f2602d96d185fc700cbec8a05c679f9..b85b270ccbec856be8b85d0a6ba498b3324c0a66 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rfb/util.h>
index 3d95beead11a2ac911f06b151f7df29eccbc2bf8..927f3e4858c2a0f3211593f80432e5158d8ef67b 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <vector>
 #include <unistd.h>
index 0bf2ca77e3ea8a876011ad6c999ff77ea9de7d4d..12d8355686aa9958f6f0c463bfdac537bbbc7439 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <unistd.h>
 
index 00026e614eddce7f978086aac8fc4a30ebbeb129..af60643aa5fb51a13c12bf84a3a27a10b933c582 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rfb/Hostname.h>
index 2e0c0bbb6d170de96cd2521ab07b0fcb4d83b6d3..6ab736b8425c207cffcf2722cf1ffbd20f2d7240 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <rfb/PixelFormat.h>
index 52548e00012c978a732530e1cb5831035232081f..aa2af85b8d57647ad532bedb6e7a2de440351d32 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <wchar.h>
 
index 43191fb61433a65166643e3fdf0094225b97c49f..dd02d4037ac28b6063ac79b51da433c92aefb1fe 100644 (file)
 #ifndef UNIXCOMMON_H
 #define UNIXCOMMON_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <map>
 
 #include <rfb/ScreenSet.h>
index 6129840eb72285311b91ff7f0ff0bd852ad0be79..af8395dc4fc77de68fe7c86042b419210fdfdfae 100644 (file)
 // TXWindow.cxx
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <X11/Xatom.h>
 #include "TXWindow.h"
 #include <list>
index c15405132c9b435879ccca28de9f6bfe4b66702b..31302d2db7bfcfe181e44ac6e07989f2b2f3e9a2 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <rdr/Exception.h>
 #include "QueryConnectDialog.h"
index 6256d3bf27da7efd920cee36df4c9847ddc43dc3..f19123b8899b05a1bd1814d93ba99ecfe05cd15f 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdint.h>
 
index 2bb299f02b4c31599cc796b3ee0bd7f8ebd780f0..51c389890a9bdcb0b8cf3297205c2fb9675d5e8d 100644 (file)
 // VNC server configuration utility
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
index 8f3649fe99e9edfbd9d534ba7aac6cdc11831bf3..189577b86203c597cd45229e7834d60ed2ee2a1a 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
index d911471333a46f2c99d9f1ece1e1c10b9bafefda..94ff51ba84e6764daa83b224c2fb0d706035b3ac 100644 (file)
 // Geometry.cxx
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb/LogWriter.h>
 #include <x0vncserver/Geometry.h>
 
index a5bd2b0ded97da6971236475c719ff9fca130a27..fb2d0602c24e3546e4a428bb465f9189185a47cf 100644 (file)
 // Image.cxx
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>
index d7f6f46fe07514808678ffe12b122093f37da81c..1761e358c70591920c6a76d12ef3bae2f06f566e 100644 (file)
 // PollingManager.cxx
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <time.h>
index 65420ffbe286787e3bc617c2f9ec349abe8a3fd3..3cd23c34f3918fea78e06e0d75474459f3d1d37a 100644 (file)
 // PollingScheduler class implementation.
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <stdlib.h>
 
index c26ac6adf5c7d51cb7f47b93c90cc0d2b45003f1..9530fd7a60473d57fba130861672e1cb8ce823f4 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef HAVE_XRANDR
 #include <X11/Xlib.h>
 #include <X11/extensions/Xrandr.h>
index b5054c91724310887311ca0c9fcd3a433d3857df..148b5b0edf3c3d795f747cb3fdc0c4d4e62fefe1 100644 (file)
 // TimeMillis.cxx
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <x0vncserver/TimeMillis.h>
 
 TimeMillis::TimeMillis()
index 380a205c6c3378a07178b418bf5ec1c40ff63199..351dbb2c5dbe8f29bd2022208ff3bb427795b55b 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <signal.h>
 #include <unistd.h>
index f0b069678334dcfab7d4daddc2e42d482f9bfce6..7107bfcb7f7607b8d6adf824a0e56d5886301a02 100644 (file)
 // XPixelBuffer.cxx
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <vector>
 #include <rfb/Region.h>
 #include <X11/Xlib.h>
index 46f601814b0a214e44fa76ad26141ed45a29e3f7..7384f93ae6df4f1d6847c0441d25d9e2621f57b9 100644 (file)
 // FIXME: Check cases when screen width/height is not a multiply of 32.
 //        e.g. 800x600.
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <strings.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 7c32bea8f20b5b2f2e1a1289a09e5c11c8b173a0..10393e6880c47a87054c12d2f93ff861ce9d2f25 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 
 #include <network/TcpSocket.h>
index d9f47f204c183d1fa0eab3202f1bc23b14a5139b..8a3cdb5ce88a4cda8f919e55f2f2a4b993de591d 100644 (file)
 // XserverDesktop.cxx
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 #include <signal.h>
 #include <stdio.h>
index 6025de912e70b6065cc6f0c59a3903a4c51ac304..8dbc048c39b9061f4e720531271ca6f20938f8cd 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
index eb4155c8242930b41edf2a82d818500f9cf9456b..e49120ffbe21e7fc9f3a726f5b3170cdb680c77a 100644 (file)
  * SOFTWARE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <set>
 #include <vector>
 #include <string>
index 4ac74dd1ab7c5c8b7424c5e3d593de6c48dced20..7fabf85b45b47e205967469c6ba230f46ebefc94 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <algorithm>
 #include <vector>
 #include <string>
index 59e51d596425ecf7dc0893d1ea4577a4a6b869e9..e236c66310fa4c5a7f58a3e7934c5c46ebd57a42 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #if !defined(WIN32) && !defined(__APPLE__)
index fbd414372314f47279567901f29853a82c9ad3cd..ff06223ee540402f7500e874d007516df2fddb5b 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <FL/Fl_RGB_Image.H>
 
 #include "Surface.h"
index fe2d722b9e9587f2cd02a30ec33cce04c3015129..445c9e6cb8b54d641775a127e4339723f6f74282 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <ApplicationServices/ApplicationServices.h>
index 9400f536002ddf92c20660692ca9bbbb264741ee..39692452149eaf4e5c094ab49571aa90b699b877 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <FL/Fl_RGB_Image.H>
index 8944c3f719a9c08fe0f454058528b0b584ff51a3..6c742061d9dad356b145b1eca8101be622daeb0e 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <FL/Fl_RGB_Image.H>
index 25f9f56eeedab4c5ac2fa9645cc4c1a2dffb53f6..e216f7b2034be7868ac4fc2549efa7e1fd271959 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <FL/Fl.H>
 
index 80305bc44659458694d923b4a68752c7590bcb42..c4a68b67610aca35a1580b72230b2f397de9e3e0 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <windows.h>
 #include <stdio.h>
 
index 030be1b312a71b720d238abf3b0d8fd65935ac82..992f07077e8bae7ce061d71b3f7423cc168d8a20 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/AboutDialog.h>
 #include <rfb_win32/Win32Util.h>
 #include <rfb_win32/TCharArray.h>
index 69fa66676264af27ee0a56cc94612010380d1013..f1545452a736f0fd82973f346edd96d444310a94 100644 (file)
 
 // -=- CleanDesktop.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <windows.h>
 #include <wininet.h>
 #include <shlobj.h>
index 1196367536dda9120e8712f036247799e5db9599..68e7c50525acdee1fc2fcbea8fa98e0f535507eb 100644 (file)
 
 // -=- Clipboard.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/Clipboard.h>
 #include <rfb_win32/WMShatter.h>
 #include <rfb/util.h>
index 6be3f9ab888a65072ffe2cbaa164485e8d0d5071..7d420d99e343872f5bc431fb3ff6a509eda51fdf 100644 (file)
 
 // -=- Currentuser.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <rfb/LogWriter.h>
 #include <rfb_win32/CurrentUser.h>
index 424a5787d60970403e77c94e9743a03cc4ddad31..ad24663ba1933d360fa2a9701328147d3595ee1d 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/DIBSectionBuffer.h>
 #include <rfb_win32/DeviceContext.h>
 #include <rfb_win32/BitmapInfo.h>
index da19de83a6d6ab65f5ebcbe01ce28221cfd2de50..0a7d00a2bd8bc05d6a318fc7e7be0128f8004e2c 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/DeviceContext.h>
 #include <rfb_win32/CompatibleBitmap.h>
 #include <rfb_win32/BitmapInfo.h>
index 14c0ae34ab67d24a00a103dd833eca8b9b4a7886..cf93f14c0df336295c8b605bfdd92f075f6346b6 100644 (file)
 // The DeviceFrameBuffer class encapsulates the pixel data of the system
 // display.
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <vector>
 #include <rfb_win32/DeviceFrameBuffer.h>
 #include <rfb_win32/DeviceContext.h>
index c9e333dd7dd3d7c024a36ad62c80533bf34f2953..08a5226c712807b4651c10c7fa5c0fc7a53269e1 100644 (file)
 
 // Base-class for any Dialog classes we might require
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/Dialog.h>
 #include <rfb_win32/TCharArray.h>
 #include <rfb/LogWriter.h>
index 26750807d129e16bc1dcb5a869d749bf743343f2..9e08b7938a81c4822f2c7f0892de8b28fd971e50 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/EventManager.h>
 #include <rdr/Exception.h>
 #include <rfb/LogWriter.h>
index 16ced64ba663208c224f1fa4b2f3f8d05f9325ba..b19471e7408a6c08dec6cd8839a85985784e8865 100644 (file)
 
 // -=- LaunchProcess.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/LaunchProcess.h>
 #include <rfb_win32/ModuleFileName.h>
 #include <rfb_win32/Win32Util.h>
index f7733f74bc98e68de330f0fbb27d73ab3a2b32e3..7c376582102eb95eb7cdfb4b4f0dfaa1c42c569d 100644 (file)
@@ -1,6 +1,9 @@
 // ListViewControl.cxx: implementation of the ListViewControl class.
 //
 //////////////////////////////////////////////////////////////////////
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <tchar.h>
 #include "ListViewControl.h"
 #include "commctrl.h"
index 0a949abb3c51b0d2a9b2bace2c644272139cce44..b9865e91e278fea730ee22bbc4cc4fb8134cf366 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <tchar.h>
 #include <rfb_win32/MonitorInfo.h>
 #include <rfb_win32/Win32Util.h>
index 8086bea0a2cb5ec55d61793c1a4b9efd84d2473e..5aadb4341bfe2f76fb959f3a2359d8e07e6fa29b 100644 (file)
 
 // -=- MsgWindow.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/MsgWindow.h>
 #include <rfb_win32/WMShatter.h>
 #include <rfb/LogWriter.h>
index 5c89e780ecb599b0b2a2914faa431d34f3d26242..8a87bc4bf28091160b586aaaa8a0ab1029eef6d6 100644 (file)
 
 // -=- RegConfig.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <malloc.h>
 
 #include <rfb_win32/RegConfig.h>
index 5d78c4c4c07d7d136d0caf7fd1f2b0cd5941f9b2..f046188f8d1205dad27faf37decdbc8518507bcd 100644 (file)
 
 // -=- Registry.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/Registry.h>
 #include <rfb_win32/Security.h>
 #include <rdr/MemOutStream.h>
index a9ee361579bdbb449fcb676baa82f82b92b6633d..67aa34f963a4facb17f0c2a5008ca674898f0765 100644 (file)
 //
 // The SDisplay class encapsulates a particular system display.
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <assert.h>
 
 #include <rfb_win32/SDisplay.h>
index 28f3e44b00858d9d90e5a803604ac592d91c61a7..f47560b4c2233831af8ea4e7984f2bc52760909e 100644 (file)
 
 // -=- SDisplayCorePolling.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/SDisplayCorePolling.h>
 #include <rfb/LogWriter.h>
 #include <rfb/util.h>
index bf64ba1c25956217b90a5c321b1385bf2163247e..8165be3d622510bcfecc15f8d32e32ce450cfc7b 100644 (file)
 
 // -=- SDisplayCoreWMHooks.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/SDisplayCoreWMHooks.h>
 #include <rfb/LogWriter.h>
 
index d41e14bc69411b9c7cf6128c9e364191c3b5eb9c..8ead409db3750799b902f61c5d902c6d6bb4c01d 100644 (file)
 // A number of routines that accept VNC input event data and perform
 // the appropriate actions under Win32
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define XK_MISCELLANY
 #define XK_LATIN1
 #define XK_CURRENCY
index 5df20cd7ec9bd7845163c19b83763ffe87f9acd2..17dbd4dc639712df00c94ddf2a2b56be65326381 100644 (file)
 
 // -=- Security.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/Security.h>
 #include <rfb/LogWriter.h>
 
index 719c44b67984a8f1c764b72e6ce6da227e1f9e63..353ff92b5eb897953ea80fc2a1d76cdea472ed9e 100644 (file)
 
 // -=- Service.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/Service.h>
 #include <rfb_win32/MsgWindow.h>
 #include <rfb_win32/ModuleFileName.h>
index 393e2191e15be4e557e07174fb7eacdcb52f8f64..5463b24f17f3159a0f2d032a7ee2e6e2d039e2b5 100644 (file)
 
 // -=- SocketManager.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <winsock2.h>
 #include <list>
 #include <rfb/LogWriter.h>
index fd4c078302d0595bd2c91b2d59457903ff050774..a36f23b1d5ec776e5914837bce232d6e729cc137 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/TCharArray.h>
 
 namespace rfb {
index 6d16adbffb76b49c5eeaae791d270f8aa22234c7..9b1632f532d5b01eaca3a9600e142cc1fc16bf95 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/TsSessions.h>
 #include <rfb/LogWriter.h>
 #include <rdr/Exception.h>
index 0ad96f3a504e05d28f4832591bc05e01bee6ae80..32a8993027eb81a7c40976bd043abb99f0e0b16e 100644 (file)
 
 // -=- WMCursor.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/WMCursor.h>
 #include <rfb/Exception.h>
 #include <rfb/LogWriter.h>
index bbc15088494a2d908152af7f41b8aebb4f700a24..3c58d8017c18c83925c5396ac8723ff8794493c1 100644 (file)
 
 // -=- WMHooks.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <os/Mutex.h>
 #include <os/Thread.h>
 
index 159dacafbd15483957b88e80066f6c7ecbc4c99f..e05661f7cf12aa393d81e99f63ccd26b1e303f45 100644 (file)
 
 // -=- WMNotifier.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/WMNotifier.h>
 #include <rfb_win32/WMShatter.h>
 #include <rfb_win32/MsgWindow.h>
index f8505342484edec2885aaf57a95b782c7036baea..38b2ad42901934f384c98426727f091493d7cfe9 100644 (file)
 
 // -=- WMPoller.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/WMPoller.h>
 #include <rfb/Exception.h>
 #include <rfb/LogWriter.h>
index 687deda209ef56237801904acf69ea82b8b9f672..ede80e91213287ffe4ab6ad53eb86587845ec9d6 100644 (file)
 
 // -=- WMShatter.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/WMShatter.h>
 
 #include <rfb/LogWriter.h>
index 6ca8c3530fea4fd09fa83bf3fbee28a04a3a21a3..7655da8441a32af582772ab8c845cc5b24aee03c 100644 (file)
 
 // -=- WMCopyRect.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/WMWindowCopyRect.h>
 #include <rfb/LogWriter.h>
 #include <windows.h>
index 02fbbba5d02aaf4c92cbfa09574af01bfa320106..fc66274f4b46180d7301fde0818885020cf09d34 100644 (file)
 
 // Win32Util.cxx
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <rfb_win32/ModuleFileName.h>
 #include <rfb_win32/Win32Util.h>
 #include <rfb_win32/MonitorInfo.h>
index 72831e55ae76684311cb494a581562fa781e6b43..a2a85e2de57ea94d9b2ae5f7b0338c3e4a643a21 100644 (file)
@@ -2,6 +2,10 @@
 //
 //////////////////////////////////////////////////////////////////////
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "ControlPanel.h"
 
 //////////////////////////////////////////////////////////////////////
index a8c6f25e2660053927b3cafb255c390467c9f2b3..a93ca298d061f1e417303df01da2363b74b808bf 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <winvnc/ManagedListener.h>
 #include <rfb/LogWriter.h>
 
index 103621eed30666314cb28931de1875d8b6eeea53..8cea7a679d1f6f3962c9bd56b0e9b6d6bb40faeb 100644 (file)
  * USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <winvnc/VNCServerWin32.h>
 #include <winvnc/QueryConnectDialog.h>
 #include <winvnc/resource.h>
index a90819d081cc428098bc92fb8e4f36775c35b5e8..83afbed280d58ff41c1f2ab2960a56ae95a1cab7 100644 (file)
 
 // -=- WinVNC Version 4.0 Tray Icon implementation
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <winvnc/STrayIcon.h>
 #include <winvnc/VNCServerService.h>
 #include <winvnc/resource.h>
index f5a4dba2d3880f8ae68f9ee6357e041b2f54e745..4092592a73e1f306803d76442cd65c71ae050837 100644 (file)
 
 // -=- WinVNC Version 4.0 Service-Mode implementation
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <winvnc/VNCServerService.h>
 #include <rfb/LogWriter.h>
 #include <rfb_win32/TsSessions.h>
index e0014495a43cdaed2ddaaa1ebce1843605567035..34cda3788cf1431f97da96da2a1acc855c993e4f 100644 (file)
 
 // -=- WinVNC Version 4.0 Main Routine
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <winvnc/VNCServerWin32.h>
 #include <winvnc/resource.h>
 #include <winvnc/ListConnInfo.h>
index 43c852c48e69645379fa97980d000237d728ec12..b1bfb9dc8b4cb8353dde9b5a44adaccdd4f2c6f0 100644 (file)
 
 // -=- VNC Server 4.0 for Windows (WinVNC4)
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include <winvnc/VNCServerWin32.h>
index c0350cd2aeaf52d8fdbc84187ea110238f3269c0..54c3d80da30b69d2c42aea028b0a86c2011a63c3 100644 (file)
 //
 // Window Message Hooks Dynamic Link library
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <tchar.h>
 
 #include <wm_hooks/wm_hooks.h>