From 8e93afc9765f1de613c65a76e9a86e17db96e653 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 27 Jul 2014 14:46:45 +0100 Subject: all: include config.h only when available and use its defines ... rather than explicitly redefining HAVE_STDINT_H and _GNU_SOURCE. Signed-off-by: Emil Velikov --- tests/vbltest/vbltest.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/vbltest/vbltest.c') diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c index 2a09d28e..50e29dcd 100644 --- a/tests/vbltest/vbltest.c +++ b/tests/vbltest/vbltest.c @@ -37,7 +37,9 @@ * TODO: use cairo to write the mode info on the selected output once * the mode has been programmed, along with possible test patterns. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #include -- cgit v1.2.3