diff options
author | Adam Tkac <atkac@redhat.com> | 2008-10-06 14:08:00 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2008-10-06 14:08:00 +0000 |
commit | ad1cbd968f8a2b98e241fab731f9655e43b403bb (patch) | |
tree | 9c90f456cdec839fe1bda255b5409eb5caaf68cb /common/rfb | |
parent | 1d2920e9d6b30c3577d0dc1d2e73c6bfe885496a (diff) | |
download | tigervnc-ad1cbd968f8a2b98e241fab731f9655e43b403bb.tar.gz tigervnc-ad1cbd968f8a2b98e241fab731f9655e43b403bb.zip |
[Cleanup] Handle system dependent defines through autoheader & common-config.h
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2890 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb')
-rw-r--r-- | common/rfb/JpegEncoder.cxx | 4 | ||||
-rw-r--r-- | common/rfb/Logger.cxx | 4 | ||||
-rw-r--r-- | common/rfb/Makefile.am | 3 | ||||
-rw-r--r-- | common/rfb/util.cxx | 4 | ||||
-rw-r--r-- | common/rfb/util.h | 4 |
5 files changed, 17 insertions, 2 deletions
diff --git a/common/rfb/JpegEncoder.cxx b/common/rfb/JpegEncoder.cxx index 71291927..2c47a604 100644 --- a/common/rfb/JpegEncoder.cxx +++ b/common/rfb/JpegEncoder.cxx @@ -16,6 +16,10 @@ * USA. */ +#ifdef HAVE_COMMON_CONFIG_H +#include <common-config.h> +#endif + #include <rfb/JpegEncoder.h> #include <rdr/OutStream.h> #include <rdr/Exception.h> diff --git a/common/rfb/Logger.cxx b/common/rfb/Logger.cxx index 6b9cfa31..8c90906c 100644 --- a/common/rfb/Logger.cxx +++ b/common/rfb/Logger.cxx @@ -18,6 +18,10 @@ // -=- Logger.cxx - support for the Logger and LogWriter classes +#ifdef HAVE_COMMON_CONFIG_H +#include <common-config.h> +#endif + #include <stdarg.h> #include <stdio.h> #include <string.h> diff --git a/common/rfb/Makefile.am b/common/rfb/Makefile.am index 30c06d7d..f2106d18 100644 --- a/common/rfb/Makefile.am +++ b/common/rfb/Makefile.am @@ -53,8 +53,7 @@ if IRIX_MEDIA librfb_la_SOURCES += IrixDMJpegCompressor.cxx IrixDMIC_RawToJpeg.cxx endif -librfb_la_CPPFLAGS = -I$(top_srcdir) @JPEG_INCLUDE@ @VSNPRINTF_DEFINE@ \ - @STRCASECMP_DEFINE@ @STRNCASECMP_DEFINE@ +librfb_la_CPPFLAGS = -I$(top_srcdir) @JPEG_INCLUDE@ librfb_la_LIBADD = @JPEG_LIB@ diff --git a/common/rfb/util.cxx b/common/rfb/util.cxx index 57454324..7950a1d8 100644 --- a/common/rfb/util.cxx +++ b/common/rfb/util.cxx @@ -30,6 +30,10 @@ * is provided ``as is'' without express or implied warranty. */ +#ifndef HAVE_COMMON_CONFIG_H +#include <common-config.h> +#endif + #include <rfb/util.h> // Provide strcasecmp() and/or strncasecmp() if absent on this system. diff --git a/common/rfb/util.h b/common/rfb/util.h index fa205f08..933df527 100644 --- a/common/rfb/util.h +++ b/common/rfb/util.h @@ -23,6 +23,10 @@ #ifndef __RFB_UTIL_H__ #define __RFB_UTIL_H__ +#ifdef HAVE_COMMON_CONFIG_H +#include <common-config.h> +#endif + #include <limits.h> #include <string.h> |