diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-07-27 14:46:45 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-01 16:06:01 +0100 |
commit | 8e93afc9765f1de613c65a76e9a86e17db96e653 (patch) | |
tree | 55d1f95367e5e515bacab3c34c64b1d462f94070 /libkms/vmwgfx.c | |
parent | 391bba9c4cd2825eadaa648df10e3d1c99c66e80 (diff) | |
download | libdrm-8e93afc9765f1de613c65a76e9a86e17db96e653.tar.gz libdrm-8e93afc9765f1de613c65a76e9a86e17db96e653.tar.bz2 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/vmwgfx.c')
-rw-r--r-- | libkms/vmwgfx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libkms/vmwgfx.c b/libkms/vmwgfx.c index d594b3bd..598f383c 100644 --- a/libkms/vmwgfx.c +++ b/libkms/vmwgfx.c @@ -26,7 +26,9 @@ **************************************************************************/ -#define HAVE_STDINT_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #define _FILE_OFFSET_BITS 64 #include <errno.h> |