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 /libkms/exynos.c | |
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 'libkms/exynos.c')
-rw-r--r-- | libkms/exynos.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libkms/exynos.c b/libkms/exynos.c index 93e36a12..243915b5 100644 --- a/libkms/exynos.c +++ b/libkms/exynos.c | |||
@@ -11,7 +11,9 @@ | |||
11 | * option) any later version. | 11 | * option) any later version. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #define HAVE_STDINT_H | 14 | #ifdef HAVE_CONFIG_H |
15 | #include "config.h" | ||
16 | #endif | ||
15 | #define _FILE_OFFSET_BITS 64 | 17 | #define _FILE_OFFSET_BITS 64 |
16 | 18 | ||
17 | #include <errno.h> | 19 | #include <errno.h> |