aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2014-07-27 08:46:45 -0500
committerEmil Velikov2014-09-01 10:06:01 -0500
commit8e93afc9765f1de613c65a76e9a86e17db96e653 (patch)
tree55d1f95367e5e515bacab3c34c64b1d462f94070 /libkms/intel.c
parent391bba9c4cd2825eadaa648df10e3d1c99c66e80 (diff)
downloadexternal-libdrm-8e93afc9765f1de613c65a76e9a86e17db96e653.tar.gz
external-libdrm-8e93afc9765f1de613c65a76e9a86e17db96e653.tar.xz
external-libdrm-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 'libkms/intel.c')
-rw-r--r--libkms/intel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libkms/intel.c b/libkms/intel.c
index abae4525..92f1cf25 100644
--- a/libkms/intel.c
+++ b/libkms/intel.c
@@ -26,7 +26,9 @@
26 **************************************************************************/ 26 **************************************************************************/
27 27
28 28
29#define HAVE_STDINT_H 29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
30#define _FILE_OFFSET_BITS 64 32#define _FILE_OFFSET_BITS 64
31 33
32#include <errno.h> 34#include <errno.h>