diff options
author | Emil Velikov | 2014-07-27 08:46:45 -0500 |
---|---|---|
committer | Emil Velikov | 2014-09-01 10:06:01 -0500 |
commit | 8e93afc9765f1de613c65a76e9a86e17db96e653 (patch) | |
tree | 55d1f95367e5e515bacab3c34c64b1d462f94070 /tests/vbltest | |
parent | 391bba9c4cd2825eadaa648df10e3d1c99c66e80 (diff) | |
download | external-libgbm-8e93afc9765f1de613c65a76e9a86e17db96e653.tar.gz external-libgbm-8e93afc9765f1de613c65a76e9a86e17db96e653.tar.xz external-libgbm-8e93afc9765f1de613c65a76e9a86e17db96e653.zip |
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.c | 2 |
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 @@ | |||
37 | * TODO: use cairo to write the mode info on the selected output once | 37 | * TODO: use cairo to write the mode info on the selected output once |
38 | * the mode has been programmed, along with possible test patterns. | 38 | * the mode has been programmed, along with possible test patterns. |
39 | */ | 39 | */ |
40 | #ifdef HAVE_CONFIG_H | ||
40 | #include "config.h" | 41 | #include "config.h" |
42 | #endif | ||
41 | 43 | ||
42 | #include <assert.h> | 44 | #include <assert.h> |
43 | #include <stdio.h> | 45 | #include <stdio.h> |