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/modetest/cursor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/modetest/cursor.c') diff --git a/tests/modetest/cursor.c b/tests/modetest/cursor.c index 7077f203..60f240ac 100644 --- a/tests/modetest/cursor.c +++ b/tests/modetest/cursor.c @@ -22,7 +22,9 @@ * IN THE SOFTWARE. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #include -- cgit v1.2.3