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 /intel | |
parent | 431f1a147e33b3fae7ea78a47d40a6014b682ebd (diff) |
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 'intel')
-rw-r--r-- | intel/intel_bufmgr.c | 4 | ||||
-rw-r--r-- | intel/intel_bufmgr_fake.c | 4 | ||||
-rw-r--r-- | intel/intel_bufmgr_gem.c | 4 | ||||
-rw-r--r-- | intel/intel_decode.c | 4 | ||||
-rw-r--r-- | intel/mm.c | 4 | ||||
-rw-r--r-- | intel/mm.h | 4 | ||||
-rw-r--r-- | intel/test_decode.c | 4 |
7 files changed, 0 insertions, 28 deletions
diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c index a2853400..bede0a21 100644 --- a/intel/intel_bufmgr.c +++ b/intel/intel_bufmgr.c @@ -25,10 +25,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <string.h> #include <stdlib.h> #include <stdint.h> diff --git a/intel/intel_bufmgr_fake.c b/intel/intel_bufmgr_fake.c index 641df6a1..3b24b81b 100644 --- a/intel/intel_bufmgr_fake.c +++ b/intel/intel_bufmgr_fake.c @@ -34,10 +34,6 @@ * the bugs in the old texture manager. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <stdlib.h> #include <string.h> #include <assert.h> diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 386da30e..5c47a46f 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -34,10 +34,6 @@ * Dave Airlie <airlied@linux.ie> */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <xf86drm.h> #include <xf86atomic.h> #include <fcntl.h> diff --git a/intel/intel_decode.c b/intel/intel_decode.c index 3a81500f..bc7b04b8 100644 --- a/intel/intel_decode.c +++ b/intel/intel_decode.c @@ -21,10 +21,6 @@ * IN THE SOFTWARE. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <assert.h> #include <stdint.h> #include <stdlib.h> @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <stdlib.h> #include <assert.h> @@ -29,10 +29,6 @@ #ifndef MM_H #define MM_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "libdrm_macros.h" struct mem_block { diff --git a/intel/test_decode.c b/intel/test_decode.c index 68f777b0..b9f5b927 100644 --- a/intel/test_decode.c +++ b/intel/test_decode.c @@ -21,10 +21,6 @@ * IN THE SOFTWARE. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <string.h> #include <stdlib.h> #include <stdio.h> |