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
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#ifdef WIN32 | |||
#include <windows.h> | |||
#else |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#ifdef WIN32 | |||
#include <windows.h> | |||
#else |
@@ -19,10 +19,6 @@ | |||
#ifndef OS_OS_H | |||
#define OS_OS_H | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <os/w32tiger.h> | |||
/* |
@@ -18,6 +18,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <errno.h> | |||
#include <rdr/Exception.h> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <rdr/HexInStream.h> | |||
#include <rdr/Exception.h> | |||
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <rdr/HexOutStream.h> | |||
#include <rdr/Exception.h> | |||
@@ -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> |
@@ -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> |
@@ -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> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <assert.h> | |||
#include <rdr/ZlibInStream.h> |
@@ -17,6 +17,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <rdr/ZlibOutStream.h> |
@@ -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> | |||
@@ -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> |
@@ -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> |
@@ -17,6 +17,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <assert.h> | |||
#include <stdio.h> | |||
@@ -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> |
@@ -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> |
@@ -17,6 +17,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <rfb/CSecurityStack.h> | |||
using namespace rfb; |
@@ -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 |
@@ -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> |
@@ -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> | |||
@@ -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> |
@@ -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> |
@@ -20,6 +20,10 @@ | |||
// -=- Configuration.cxx | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdlib.h> | |||
#include <ctype.h> | |||
#include <string.h> |
@@ -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> | |||
@@ -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> |
@@ -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> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <assert.h> | |||
#include <string.h> | |||
@@ -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> |
@@ -19,6 +19,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdlib.h> | |||
#include <rfb/EncodeManager.h> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <os/Mutex.h> |
@@ -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> |
@@ -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> |
@@ -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> | |||
@@ -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; |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <assert.h> | |||
#include <rdr/OutStream.h> |
@@ -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> |
@@ -17,6 +17,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <rfb/Region.h> | |||
#include <rfb/LogWriter.h> | |||
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <rfb/SSecurityStack.h> | |||
using namespace rfb; |
@@ -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 |
@@ -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> | |||
@@ -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> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <string.h> | |||
#include <assert.h> | |||
#include <math.h> |
@@ -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> |
@@ -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> |
@@ -19,6 +19,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <assert.h> | |||
#include <rdr/InStream.h> |
@@ -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> |
@@ -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> |
@@ -19,6 +19,10 @@ | |||
// -=- Timer.cxx | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <sys/time.h> | |||
@@ -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> | |||
@@ -18,6 +18,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <network/TcpSocket.h> | |||
#include <rfb/ComparingUpdateTracker.h> |
@@ -48,6 +48,10 @@ | |||
// otherwise blacklisted connections might be "forgotten". | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <assert.h> | |||
#include <stdlib.h> | |||
@@ -18,6 +18,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <rfb/WinPasswdValidator.h> | |||
#include <windows.h> | |||
#include <tchar.h> |
@@ -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> |
@@ -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> |
@@ -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> |
@@ -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> | |||
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <stdlib.h> | |||
#include <string.h> |
@@ -24,6 +24,10 @@ | |||
* format. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <stdlib.h> | |||
#include <math.h> |
@@ -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> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <math.h> | |||
#include <sys/time.h> | |||
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdint.h> | |||
#include <stdlib.h> | |||
#include <string.h> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <stdlib.h> | |||
#include <string.h> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <rfb/util.h> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <vector> | |||
#include <unistd.h> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <unistd.h> | |||
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <rfb/Hostname.h> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <rfb/PixelFormat.h> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <wchar.h> | |||
@@ -20,10 +20,6 @@ | |||
#ifndef UNIXCOMMON_H | |||
#define UNIXCOMMON_H | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <map> | |||
#include <rfb/ScreenSet.h> |
@@ -19,6 +19,10 @@ | |||
// TXWindow.cxx | |||
// | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <X11/Xatom.h> | |||
#include "TXWindow.h" | |||
#include <list> |
@@ -16,6 +16,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <rdr/Exception.h> | |||
#include "QueryConnectDialog.h" |
@@ -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> | |||
@@ -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> |
@@ -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> |
@@ -20,6 +20,10 @@ | |||
// Geometry.cxx | |||
// | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <rfb/LogWriter.h> | |||
#include <x0vncserver/Geometry.h> | |||
@@ -20,6 +20,10 @@ | |||
// Image.cxx | |||
// | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <stdlib.h> | |||
#include <sys/types.h> |
@@ -20,6 +20,10 @@ | |||
// PollingManager.cxx | |||
// | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <stdio.h> | |||
#include <string.h> | |||
#include <time.h> |
@@ -20,6 +20,10 @@ | |||
// PollingScheduler class implementation. | |||
// | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <string.h> | |||
#include <stdlib.h> | |||
@@ -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> |
@@ -20,6 +20,10 @@ | |||
// TimeMillis.cxx | |||
// | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <x0vncserver/TimeMillis.h> | |||
TimeMillis::TimeMillis() |
@@ -18,6 +18,10 @@ | |||
* USA. | |||
*/ | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <assert.h> | |||
#include <signal.h> | |||
#include <unistd.h> |
@@ -21,6 +21,10 @@ | |||
// XPixelBuffer.cxx | |||
// | |||
#ifdef HAVE_CONFIG_H | |||
#include <config.h> | |||
#endif | |||
#include <vector> | |||
#include <rfb/Region.h> | |||
#include <X11/Xlib.h> |