all: include config.h only when available and use its defines
[platform/upstream/libdrm.git] / libkms / exynos.c
index 93e36a1..243915b 100644 (file)
@@ -11,7 +11,9 @@
  * option) any later version.
  */
 
-#define HAVE_STDINT_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #define _FILE_OFFSET_BITS 64
 
 #include <errno.h>