diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-21 12:35:34 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:52 +0100 |
commit | 08326f733a2311ad241fad7146516c69840b675e (patch) | |
tree | 68632b12292a9980b1836766f91f27f5af0f73f3 /common/lz_decompress_tmpl.c | |
parent | d88b144f1bc450b00c1b78ac58d88ef2e46a5868 (diff) | |
download | spice-common-08326f733a2311ad241fad7146516c69840b675e.tar.gz spice-common-08326f733a2311ad241fad7146516c69840b675e.tar.xz spice-common-08326f733a2311ad241fad7146516c69840b675e.zip |
add #include <config.h> to all source files
When using config.h, it must be the very first include in all source
files since it contains #define that may change the compilation process
(eg libc structure layout changes when it's used to enable large file
support on 32 bit x86 archs). This commit adds it at the beginning
of all .c and .cpp files
Diffstat (limited to 'common/lz_decompress_tmpl.c')
-rw-r--r-- | common/lz_decompress_tmpl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/lz_decompress_tmpl.c b/common/lz_decompress_tmpl.c index aa403f6..6d52074 100644 --- a/common/lz_decompress_tmpl.c +++ b/common/lz_decompress_tmpl.c @@ -59,6 +59,10 @@ COPY_COMP_PIXEL(encoder, out) - copies pixel from the compressed buffer to the decompressed buffer. Increases out. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #if !defined(LZ_RGB_ALPHA) #define COPY_PIXEL(p, out) (*out++ = p) #define COPY_REF_PIXEL(ref, out) (*out++ = *ref++) |