diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | image/test_bitmap.c | 4 | ||||
-rw-r--r-- | image/test_formats.c | 4 | ||||
-rw-r--r-- | image/test_swap.c | 4 | ||||
-rw-r--r-- | image/test_xcb_image.c | 4 | ||||
-rw-r--r-- | image/test_xcb_image_shm.c | 4 | ||||
-rw-r--r-- | image/xcb_image.c | 4 |
7 files changed, 25 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a42c8f1..f6de7fc 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ AC_INIT([xcb-util-image],[0.3.9], [https://bugs.freedesktop.org/enter_bug.cgi?product=xcb&component=Utils], [xcb-util-image]) AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE diff --git a/image/test_bitmap.c b/image/test_bitmap.c index 5bf7955..ff57776 100644 --- a/image/test_bitmap.c +++ b/image/test_bitmap.c @@ -27,6 +27,10 @@ * prior written authorization from the authors. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/image/test_formats.c b/image/test_formats.c index a167876..307e623 100644 --- a/image/test_formats.c +++ b/image/test_formats.c @@ -26,6 +26,10 @@ * prior written authorization from the authors. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/image/test_swap.c b/image/test_swap.c index a34e23e..688ae68 100644 --- a/image/test_swap.c +++ b/image/test_swap.c @@ -26,6 +26,10 @@ * prior written authorization from the authors. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/image/test_xcb_image.c b/image/test_xcb_image.c index 25ff697..474dea0 100644 --- a/image/test_xcb_image.c +++ b/image/test_xcb_image.c @@ -28,6 +28,10 @@ /* gcc -g -O2 -Wall `pkg-config --cflags --libs xcb` -o test xcb_image.o test_xcb_image.c */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/image/test_xcb_image_shm.c b/image/test_xcb_image_shm.c index 3162a6e..df4ceca 100644 --- a/image/test_xcb_image_shm.c +++ b/image/test_xcb_image_shm.c @@ -24,6 +24,10 @@ * authorization from the authors. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <stdio.h> diff --git a/image/xcb_image.c b/image/xcb_image.c index 5cfe383..4889c26 100644 --- a/image/xcb_image.c +++ b/image/xcb_image.c @@ -23,6 +23,10 @@ * authorization from the authors. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> |