summaryrefslogtreecommitdiff
path: root/tests/vbltest
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-07-27 14:46:45 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-01 16:06:01 +0100
commit8e93afc9765f1de613c65a76e9a86e17db96e653 (patch)
tree55d1f95367e5e515bacab3c34c64b1d462f94070 /tests/vbltest
parent391bba9c4cd2825eadaa648df10e3d1c99c66e80 (diff)
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 <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/vbltest')
-rw-r--r--tests/vbltest/vbltest.c2
1 files changed, 2 insertions, 0 deletions
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 <assert.h>
#include <stdio.h>