diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-02-01 11:12:05 +0000 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-03-20 18:19:26 +0000 |
commit | 0926f0af54d654b1a95826066edcae30b8052581 (patch) | |
tree | 546efdeadf79644a90ca0c0418dbdea848b81ef4 /libkms | |
parent | 431f1a147e33b3fae7ea78a47d40a6014b682ebd (diff) | |
download | drm-0926f0af54d654b1a95826066edcae30b8052581.tar.gz |
meson,configure: include config.h automatically
This will prevent any more missing `#include "config.h"` bug, at the
cost of having to recompile some files that didn't need to be when
changing build options.
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'libkms')
-rw-r--r-- | libkms/api.c | 4 | ||||
-rw-r--r-- | libkms/dumb.c | 4 | ||||
-rw-r--r-- | libkms/exynos.c | 4 | ||||
-rw-r--r-- | libkms/intel.c | 4 | ||||
-rw-r--r-- | libkms/internal.h | 4 | ||||
-rw-r--r-- | libkms/linux.c | 4 | ||||
-rw-r--r-- | libkms/nouveau.c | 4 | ||||
-rw-r--r-- | libkms/radeon.c | 4 | ||||
-rw-r--r-- | libkms/vmwgfx.c | 4 |
9 files changed, 0 insertions, 36 deletions
diff --git a/libkms/api.c b/libkms/api.c index 354d8a2e..22dd32d7 100644 --- a/libkms/api.c +++ b/libkms/api.c @@ -26,10 +26,6 @@ **************************************************************************/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <errno.h> #include <stdlib.h> #include <string.h> diff --git a/libkms/dumb.c b/libkms/dumb.c index b95a072c..17efc10a 100644 --- a/libkms/dumb.c +++ b/libkms/dumb.c @@ -26,10 +26,6 @@ **************************************************************************/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <errno.h> #include <stdio.h> #include <stdlib.h> diff --git a/libkms/exynos.c b/libkms/exynos.c index c20b6b05..ef64a668 100644 --- a/libkms/exynos.c +++ b/libkms/exynos.c @@ -25,10 +25,6 @@ * SOFTWARE. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <errno.h> #include <stdio.h> #include <stdlib.h> diff --git a/libkms/intel.c b/libkms/intel.c index 3d8ca055..859e7a0f 100644 --- a/libkms/intel.c +++ b/libkms/intel.c @@ -26,10 +26,6 @@ **************************************************************************/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <errno.h> #include <stdio.h> #include <stdlib.h> diff --git a/libkms/internal.h b/libkms/internal.h index 905f5b17..8b386db6 100644 --- a/libkms/internal.h +++ b/libkms/internal.h @@ -29,10 +29,6 @@ #ifndef INTERNAL_H_ #define INTERNAL_H_ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "libdrm_macros.h" #include "libkms.h" diff --git a/libkms/linux.c b/libkms/linux.c index 1431eb10..56205054 100644 --- a/libkms/linux.c +++ b/libkms/linux.c @@ -29,10 +29,6 @@ * going from fd to pci id via fstat and udev. */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif #include <errno.h> #include <stdio.h> #include <stdlib.h> diff --git a/libkms/nouveau.c b/libkms/nouveau.c index d10e0fdb..7fe23db3 100644 --- a/libkms/nouveau.c +++ b/libkms/nouveau.c @@ -26,10 +26,6 @@ **************************************************************************/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <errno.h> #include <stdio.h> #include <stdlib.h> diff --git a/libkms/radeon.c b/libkms/radeon.c index aaeeaf31..2cb2b11f 100644 --- a/libkms/radeon.c +++ b/libkms/radeon.c @@ -26,10 +26,6 @@ **************************************************************************/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <errno.h> #include <stdio.h> #include <stdlib.h> diff --git a/libkms/vmwgfx.c b/libkms/vmwgfx.c index 6a24fd4d..f0e40be7 100644 --- a/libkms/vmwgfx.c +++ b/libkms/vmwgfx.c @@ -26,10 +26,6 @@ **************************************************************************/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <errno.h> #include <stdlib.h> #include <string.h> |