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 --- libkms/nouveau.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libkms/nouveau.c') diff --git a/libkms/nouveau.c b/libkms/nouveau.c index 608092f5..2de827d9 100644 --- a/libkms/nouveau.c +++ b/libkms/nouveau.c @@ -26,7 +26,9 @@ **************************************************************************/ -#define HAVE_STDINT_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #define _FILE_OFFSET_BITS 64 #include -- cgit v1.2.3