Browse Source

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.
tags/v1.12.90
Pierre Ossman 2 years ago
parent
commit
b6d6db9b7c
100 changed files with 384 additions and 36 deletions
  1. 4
    0
      common/os/Mutex.cxx
  2. 4
    0
      common/os/Thread.cxx
  3. 0
    4
      common/os/os.h
  4. 4
    0
      common/rdr/FileInStream.cxx
  5. 4
    0
      common/rdr/HexInStream.cxx
  6. 4
    0
      common/rdr/HexOutStream.cxx
  7. 4
    0
      common/rdr/RandomStream.cxx
  8. 0
    4
      common/rdr/TLSInStream.h
  9. 0
    4
      common/rdr/TLSOutStream.h
  10. 4
    0
      common/rdr/ZlibInStream.cxx
  11. 4
    0
      common/rdr/ZlibOutStream.cxx
  12. 5
    0
      common/rfb/Blacklist.cxx
  13. 5
    0
      common/rfb/CConnection.cxx
  14. 5
    0
      common/rfb/CMsgHandler.cxx
  15. 4
    0
      common/rfb/CMsgReader.cxx
  16. 5
    0
      common/rfb/CMsgWriter.cxx
  17. 4
    0
      common/rfb/CSecurityPlain.cxx
  18. 4
    0
      common/rfb/CSecurityStack.cxx
  19. 0
    4
      common/rfb/CSecurityTLS.h
  20. 4
    0
      common/rfb/CSecurityVeNCrypt.cxx
  21. 4
    0
      common/rfb/CSecurityVncAuth.cxx
  22. 5
    0
      common/rfb/ClientParams.cxx
  23. 5
    0
      common/rfb/ComparingUpdateTracker.cxx
  24. 4
    0
      common/rfb/Configuration.cxx
  25. 4
    0
      common/rfb/Congestion.cxx
  26. 5
    0
      common/rfb/CopyRectDecoder.cxx
  27. 5
    0
      common/rfb/Cursor.cxx
  28. 4
    0
      common/rfb/DecodeManager.cxx
  29. 5
    0
      common/rfb/Decoder.cxx
  30. 4
    0
      common/rfb/EncodeManager.cxx
  31. 4
    0
      common/rfb/Encoder.cxx
  32. 4
    0
      common/rfb/HextileDecoder.cxx
  33. 5
    0
      common/rfb/HextileEncoder.cxx
  34. 4
    0
      common/rfb/JpegCompressor.cxx
  35. 4
    0
      common/rfb/JpegDecompressor.cxx
  36. 4
    0
      common/rfb/KeyRemapper.cxx
  37. 4
    0
      common/rfb/LogWriter.cxx
  38. 4
    0
      common/rfb/Logger.cxx
  39. 4
    0
      common/rfb/Logger_file.cxx
  40. 4
    0
      common/rfb/Logger_stdio.cxx
  41. 4
    0
      common/rfb/Logger_syslog.cxx
  42. 4
    0
      common/rfb/Password.cxx
  43. 4
    0
      common/rfb/PixelBuffer.cxx
  44. 5
    0
      common/rfb/PixelFormat.cxx
  45. 4
    0
      common/rfb/RREDecoder.cxx
  46. 5
    0
      common/rfb/RREEncoder.cxx
  47. 4
    0
      common/rfb/RawDecoder.cxx
  48. 5
    0
      common/rfb/RawEncoder.cxx
  49. 4
    0
      common/rfb/Region.cxx
  50. 5
    0
      common/rfb/SConnection.cxx
  51. 5
    0
      common/rfb/SMsgHandler.cxx
  52. 5
    0
      common/rfb/SMsgReader.cxx
  53. 5
    0
      common/rfb/SMsgWriter.cxx
  54. 0
    4
      common/rfb/SSecurityPlain.h
  55. 4
    0
      common/rfb/SSecurityStack.cxx
  56. 0
    4
      common/rfb/SSecurityTLS.h
  57. 0
    4
      common/rfb/SSecurityVeNCrypt.h
  58. 4
    0
      common/rfb/SSecurityVncAuth.cxx
  59. 4
    0
      common/rfb/ScaleFilters.cxx
  60. 4
    0
      common/rfb/ServerCore.cxx
  61. 5
    0
      common/rfb/ServerParams.cxx
  62. 4
    0
      common/rfb/TightDecoder.cxx
  63. 5
    0
      common/rfb/TightEncoder.cxx
  64. 5
    0
      common/rfb/TightJPEGEncoder.cxx
  65. 4
    0
      common/rfb/Timer.cxx
  66. 4
    0
      common/rfb/UpdateTracker.cxx
  67. 4
    0
      common/rfb/VNCSConnectionST.cxx
  68. 4
    0
      common/rfb/VNCServerST.cxx
  69. 4
    0
      common/rfb/WinPasswdValidator.cxx
  70. 4
    0
      common/rfb/ZRLEDecoder.cxx
  71. 5
    0
      common/rfb/ZRLEEncoder.cxx
  72. 5
    0
      common/rfb/encodings.cxx
  73. 0
    4
      common/rfb/util.h
  74. 4
    0
      tests/perf/convperf.cxx
  75. 4
    0
      tests/perf/decperf.cxx
  76. 4
    0
      tests/perf/encperf.cxx
  77. 4
    0
      tests/perf/fbperf.cxx
  78. 4
    0
      tests/perf/util.cxx
  79. 4
    0
      tests/unit/conv.cxx
  80. 4
    0
      tests/unit/convertlf.cxx
  81. 4
    0
      tests/unit/emulatemb.cxx
  82. 4
    0
      tests/unit/gesturehandler.cxx
  83. 4
    0
      tests/unit/hostport.cxx
  84. 4
    0
      tests/unit/pixelformat.cxx
  85. 4
    0
      tests/unit/unicode.cxx
  86. 0
    4
      unix/common/unixcommon.h
  87. 4
    0
      unix/tx/TXWindow.cxx
  88. 4
    0
      unix/vncconfig/QueryConnectDialog.cxx
  89. 5
    0
      unix/vncconfig/vncExt.c
  90. 4
    0
      unix/vncconfig/vncconfig.cxx
  91. 5
    0
      unix/vncpasswd/vncpasswd.cxx
  92. 4
    0
      unix/x0vncserver/Geometry.cxx
  93. 4
    0
      unix/x0vncserver/Image.cxx
  94. 4
    0
      unix/x0vncserver/PollingManager.cxx
  95. 4
    0
      unix/x0vncserver/PollingScheduler.cxx
  96. 4
    0
      unix/x0vncserver/RandrGlue.c
  97. 4
    0
      unix/x0vncserver/TimeMillis.cxx
  98. 4
    0
      unix/x0vncserver/XDesktop.cxx
  99. 4
    0
      unix/x0vncserver/XPixelBuffer.cxx
  100. 0
    0
      unix/x0vncserver/x0vncserver.cxx

+ 4
- 0
common/os/Mutex.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifdef WIN32
#include <windows.h>
#else

+ 4
- 0
common/os/Thread.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifdef WIN32
#include <windows.h>
#else

+ 0
- 4
common/os/os.h View File

@@ -19,10 +19,6 @@
#ifndef OS_OS_H
#define OS_OS_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <os/w32tiger.h>

/*

+ 4
- 0
common/rdr/FileInStream.cxx View File

@@ -18,6 +18,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <errno.h>

#include <rdr/Exception.h>

+ 4
- 0
common/rdr/HexInStream.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rdr/HexInStream.h>
#include <rdr/Exception.h>


+ 4
- 0
common/rdr/HexOutStream.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rdr/HexOutStream.h>
#include <rdr/Exception.h>


+ 4
- 0
common/rdr/RandomStream.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rdr/RandomStream.h>
#include <rdr/Exception.h>
#include <rfb/LogWriter.h>

+ 0
- 4
common/rdr/TLSInStream.h View File

@@ -20,10 +20,6 @@
#ifndef __RDR_TLSINSTREAM_H__
#define __RDR_TLSINSTREAM_H__

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifdef HAVE_GNUTLS

#include <gnutls/gnutls.h>

+ 0
- 4
common/rdr/TLSOutStream.h View File

@@ -20,10 +20,6 @@
#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>

+ 4
- 0
common/rdr/ZlibInStream.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <assert.h>

#include <rdr/ZlibInStream.h>

+ 4
- 0
common/rdr/ZlibOutStream.cxx View File

@@ -17,6 +17,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#include <rdr/ZlibOutStream.h>

+ 5
- 0
common/rfb/Blacklist.cxx View File

@@ -15,6 +15,11 @@
* 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>


+ 5
- 0
common/rfb/CConnection.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 5
- 0
common/rfb/CMsgHandler.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 4
- 0
common/rfb/CMsgReader.cxx View File

@@ -17,6 +17,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <assert.h>
#include <stdio.h>


+ 5
- 0
common/rfb/CMsgWriter.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 4
- 0
common/rfb/CSecurityPlain.cxx View File

@@ -17,6 +17,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/CConnection.h>
#include <rfb/CSecurityPlain.h>
#include <rfb/UserPasswdGetter.h>

+ 4
- 0
common/rfb/CSecurityStack.cxx View File

@@ -17,6 +17,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/CSecurityStack.h>

using namespace rfb;

+ 0
- 4
common/rfb/CSecurityTLS.h View File

@@ -22,10 +22,6 @@
#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

+ 4
- 0
common/rfb/CSecurityVeNCrypt.cxx View File

@@ -22,6 +22,10 @@
// CSecurityVeNCrypt
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/Exception.h>
#include <rdr/InStream.h>
#include <rdr/OutStream.h>

+ 4
- 0
common/rfb/CSecurityVncAuth.cxx View File

@@ -21,6 +21,10 @@
// 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>


+ 5
- 0
common/rfb/ClientParams.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 5
- 0
common/rfb/ComparingUpdateTracker.cxx View File

@@ -15,6 +15,11 @@
* 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>

+ 4
- 0
common/rfb/Configuration.cxx View File

@@ -20,6 +20,10 @@

// -=- Configuration.cxx

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdlib.h>
#include <ctype.h>
#include <string.h>

+ 4
- 0
common/rfb/Congestion.cxx View File

@@ -33,6 +33,10 @@
* 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>


+ 5
- 0
common/rfb/CopyRectDecoder.cxx View File

@@ -15,6 +15,11 @@
* 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>

+ 5
- 0
common/rfb/Cursor.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 4
- 0
common/rfb/DecodeManager.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <assert.h>
#include <string.h>


+ 5
- 0
common/rfb/Decoder.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 4
- 0
common/rfb/EncodeManager.cxx View File

@@ -19,6 +19,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdlib.h>

#include <rfb/EncodeManager.h>

+ 4
- 0
common/rfb/Encoder.cxx View File

@@ -17,6 +17,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/Encoder.h>
#include <rfb/PixelBuffer.h>
#include <rfb/Palette.h>

+ 4
- 0
common/rfb/HextileDecoder.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rdr/InStream.h>
#include <rdr/MemInStream.h>
#include <rdr/OutStream.h>

+ 5
- 0
common/rfb/HextileEncoder.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 4
- 0
common/rfb/JpegCompressor.cxx View File

@@ -18,6 +18,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/JpegCompressor.h>
#include <rdr/Exception.h>
#include <rfb/Rect.h>

+ 4
- 0
common/rfb/JpegDecompressor.cxx View File

@@ -19,6 +19,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/JpegDecompressor.h>
#include <rdr/Exception.h>
#include <rfb/Rect.h>

+ 4
- 0
common/rfb/KeyRemapper.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#include <os/Mutex.h>

+ 4
- 0
common/rfb/LogWriter.cxx View File

@@ -18,6 +18,10 @@

// -=- LogWriter.cxx - client-side logging interface

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <string.h>

#include <rfb/LogWriter.h>

+ 4
- 0
common/rfb/Logger.cxx View File

@@ -18,6 +18,10 @@

// -=- 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>

+ 4
- 0
common/rfb/Logger_file.cxx View File

@@ -18,6 +18,10 @@

// -=- Logger_file.cxx - Logger instance for a file

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdlib.h>
#include <string.h>


+ 4
- 0
common/rfb/Logger_stdio.cxx View File

@@ -18,6 +18,10 @@

// -=- 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;

+ 4
- 0
common/rfb/Logger_syslog.cxx View File

@@ -18,6 +18,10 @@

// -=- 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>

+ 4
- 0
common/rfb/Password.cxx View File

@@ -20,6 +20,10 @@
// 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>

+ 4
- 0
common/rfb/PixelBuffer.cxx View File

@@ -22,6 +22,10 @@
// 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>

+ 5
- 0
common/rfb/PixelFormat.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 4
- 0
common/rfb/RREDecoder.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rdr/InStream.h>
#include <rdr/MemInStream.h>
#include <rdr/OutStream.h>

+ 5
- 0
common/rfb/RREEncoder.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 4
- 0
common/rfb/RawDecoder.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <assert.h>

#include <rdr/OutStream.h>

+ 5
- 0
common/rfb/RawEncoder.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 4
- 0
common/rfb/Region.cxx View File

@@ -17,6 +17,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/Region.h>
#include <rfb/LogWriter.h>


+ 5
- 0
common/rfb/SConnection.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 5
- 0
common/rfb/SMsgHandler.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 5
- 0
common/rfb/SMsgReader.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 5
- 0
common/rfb/SMsgWriter.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 0
- 4
common/rfb/SSecurityPlain.h View File

@@ -20,10 +20,6 @@
#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>

+ 4
- 0
common/rfb/SSecurityStack.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/SSecurityStack.h>

using namespace rfb;

+ 0
- 4
common/rfb/SSecurityTLS.h View File

@@ -22,10 +22,6 @@
#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

+ 0
- 4
common/rfb/SSecurityVeNCrypt.h View File

@@ -25,10 +25,6 @@
#ifndef __SSECURITYVENCRYPT_H__
#define __SSECURITYVENCRYPT_H__

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/SSecurityStack.h>
#include <rfb/SConnection.h>


+ 4
- 0
common/rfb/SSecurityVncAuth.cxx View File

@@ -21,6 +21,10 @@
// 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>

+ 4
- 0
common/rfb/ScaleFilters.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <string.h>
#include <assert.h>
#include <math.h>

+ 4
- 0
common/rfb/ServerCore.cxx View File

@@ -21,6 +21,10 @@
// 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>

+ 5
- 0
common/rfb/ServerParams.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 4
- 0
common/rfb/TightDecoder.cxx View File

@@ -19,6 +19,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <assert.h>

#include <rdr/InStream.h>

+ 5
- 0
common/rfb/TightEncoder.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 5
- 0
common/rfb/TightJPEGEncoder.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 4
- 0
common/rfb/Timer.cxx View File

@@ -19,6 +19,10 @@

// -=- Timer.cxx

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <sys/time.h>


+ 4
- 0
common/rfb/UpdateTracker.cxx View File

@@ -21,6 +21,10 @@
// 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>


+ 4
- 0
common/rfb/VNCSConnectionST.cxx View File

@@ -18,6 +18,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <network/TcpSocket.h>

#include <rfb/ComparingUpdateTracker.h>

+ 4
- 0
common/rfb/VNCServerST.cxx View File

@@ -48,6 +48,10 @@
// otherwise blacklisted connections might be "forgotten".


#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <assert.h>
#include <stdlib.h>


+ 4
- 0
common/rfb/WinPasswdValidator.cxx View File

@@ -18,6 +18,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/WinPasswdValidator.h>
#include <windows.h>
#include <tchar.h>

+ 4
- 0
common/rfb/ZRLEDecoder.cxx View File

@@ -17,6 +17,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rdr/InStream.h>
#include <rdr/MemInStream.h>
#include <rdr/OutStream.h>

+ 5
- 0
common/rfb/ZRLEEncoder.cxx View File

@@ -16,6 +16,11 @@
* 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>

+ 5
- 0
common/rfb/encodings.cxx View File

@@ -15,6 +15,11 @@
* 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>

+ 0
- 4
common/rfb/util.h View File

@@ -24,10 +24,6 @@
#ifndef __RFB_UTIL_H__
#define __RFB_UTIL_H__

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <limits.h>
#include <string.h>


+ 4
- 0
tests/perf/convperf.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

+ 4
- 0
tests/perf/decperf.cxx View File

@@ -24,6 +24,10 @@
* format.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

+ 4
- 0
tests/perf/encperf.cxx View File

@@ -26,6 +26,10 @@
* 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>

+ 4
- 0
tests/perf/fbperf.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <math.h>
#include <sys/time.h>


+ 4
- 0
tests/perf/util.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdint.h>
#include <stdlib.h>
#include <string.h>

+ 4
- 0
tests/unit/conv.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

+ 4
- 0
tests/unit/convertlf.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#include <rfb/util.h>

+ 4
- 0
tests/unit/emulatemb.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <vector>
#include <unistd.h>

+ 4
- 0
tests/unit/gesturehandler.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <unistd.h>


+ 4
- 0
tests/unit/hostport.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#include <rfb/Hostname.h>

+ 4
- 0
tests/unit/pixelformat.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#include <rfb/PixelFormat.h>

+ 4
- 0
tests/unit/unicode.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <wchar.h>


+ 0
- 4
unix/common/unixcommon.h View File

@@ -20,10 +20,6 @@
#ifndef UNIXCOMMON_H
#define UNIXCOMMON_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <map>

#include <rfb/ScreenSet.h>

+ 4
- 0
unix/tx/TXWindow.cxx View File

@@ -19,6 +19,10 @@
// TXWindow.cxx
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <X11/Xatom.h>
#include "TXWindow.h"
#include <list>

+ 4
- 0
unix/vncconfig/QueryConnectDialog.cxx View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <rdr/Exception.h>
#include "QueryConnectDialog.h"

+ 5
- 0
unix/vncconfig/vncExt.c View File

@@ -15,6 +15,11 @@
* 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>


+ 4
- 0
unix/vncconfig/vncconfig.cxx View File

@@ -20,6 +20,10 @@
// VNC server configuration utility
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <string.h>
#include <stdio.h>
#include <stdlib.h>

+ 5
- 0
unix/vncpasswd/vncpasswd.cxx View File

@@ -17,6 +17,11 @@
* 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>

+ 4
- 0
unix/x0vncserver/Geometry.cxx View File

@@ -20,6 +20,10 @@
// Geometry.cxx
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <rfb/LogWriter.h>
#include <x0vncserver/Geometry.h>


+ 4
- 0
unix/x0vncserver/Image.cxx View File

@@ -20,6 +20,10 @@
// Image.cxx
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>

+ 4
- 0
unix/x0vncserver/PollingManager.cxx View File

@@ -20,6 +20,10 @@
// PollingManager.cxx
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <string.h>
#include <time.h>

+ 4
- 0
unix/x0vncserver/PollingScheduler.cxx View File

@@ -20,6 +20,10 @@
// PollingScheduler class implementation.
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <string.h>
#include <stdlib.h>


+ 4
- 0
unix/x0vncserver/RandrGlue.c View File

@@ -16,6 +16,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifdef HAVE_XRANDR
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>

+ 4
- 0
unix/x0vncserver/TimeMillis.cxx View File

@@ -20,6 +20,10 @@
// TimeMillis.cxx
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <x0vncserver/TimeMillis.h>

TimeMillis::TimeMillis()

+ 4
- 0
unix/x0vncserver/XDesktop.cxx View File

@@ -18,6 +18,10 @@
* USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <assert.h>
#include <signal.h>
#include <unistd.h>

+ 4
- 0
unix/x0vncserver/XPixelBuffer.cxx View File

@@ -21,6 +21,10 @@
// XPixelBuffer.cxx
//

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <vector>
#include <rfb/Region.h>
#include <X11/Xlib.h>

+ 0
- 0
unix/x0vncserver/x0vncserver.cxx View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save