aboutsummaryrefslogtreecommitdiffstats
path: root/radeon
diff options
context:
space:
mode:
authorEric Engestrom2018-02-01 05:12:05 -0600
committerEric Engestrom2018-03-20 13:19:26 -0500
commit0926f0af54d654b1a95826066edcae30b8052581 (patch)
tree546efdeadf79644a90ca0c0418dbdea848b81ef4 /radeon
parent431f1a147e33b3fae7ea78a47d40a6014b682ebd (diff)
downloadexternal-libdrm-0926f0af54d654b1a95826066edcae30b8052581.tar.gz
external-libdrm-0926f0af54d654b1a95826066edcae30b8052581.tar.xz
external-libdrm-0926f0af54d654b1a95826066edcae30b8052581.zip
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 'radeon')
-rw-r--r--radeon/radeon_bo.c3
-rw-r--r--radeon/radeon_bo_gem.c3
-rw-r--r--radeon/radeon_cs.c3
-rw-r--r--radeon/radeon_cs_gem.c3
-rw-r--r--radeon/radeon_cs_space.c3
-rw-r--r--radeon/radeon_surface.c3
6 files changed, 0 insertions, 18 deletions
diff --git a/radeon/radeon_bo.c b/radeon/radeon_bo.c
index 447f9280..821807bc 100644
--- a/radeon/radeon_bo.c
+++ b/radeon/radeon_bo.c
@@ -29,9 +29,6 @@
29 * Dave Airlie 29 * Dave Airlie
30 * Jérôme Glisse <glisse@freedesktop.org> 30 * Jérôme Glisse <glisse@freedesktop.org>
31 */ 31 */
32#ifdef HAVE_CONFIG_H
33#include <config.h>
34#endif
35#include <libdrm_macros.h> 32#include <libdrm_macros.h>
36#include <radeon_bo.h> 33#include <radeon_bo.h>
37#include <radeon_bo_int.h> 34#include <radeon_bo_int.h>
diff --git a/radeon/radeon_bo_gem.c b/radeon/radeon_bo_gem.c
index fbd453d9..774b26e4 100644
--- a/radeon/radeon_bo_gem.c
+++ b/radeon/radeon_bo_gem.c
@@ -29,9 +29,6 @@
29 * Dave Airlie 29 * Dave Airlie
30 * Jérôme Glisse <glisse@freedesktop.org> 30 * Jérôme Glisse <glisse@freedesktop.org>
31 */ 31 */
32#ifdef HAVE_CONFIG_H
33#include <config.h>
34#endif
35#include <stdio.h> 32#include <stdio.h>
36#include <stdint.h> 33#include <stdint.h>
37#include <stdlib.h> 34#include <stdlib.h>
diff --git a/radeon/radeon_cs.c b/radeon/radeon_cs.c
index dffb869f..eb7859e5 100644
--- a/radeon/radeon_cs.c
+++ b/radeon/radeon_cs.c
@@ -1,6 +1,3 @@
1#ifdef HAVE_CONFIG_H
2#include <config.h>
3#endif
4#include "libdrm_macros.h" 1#include "libdrm_macros.h"
5#include <stdio.h> 2#include <stdio.h>
6#include "radeon_cs.h" 3#include "radeon_cs.h"
diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c
index f3dccb6c..4d5fc13a 100644
--- a/radeon/radeon_cs_gem.c
+++ b/radeon/radeon_cs_gem.c
@@ -29,9 +29,6 @@
29 * Nicolai Haehnle <prefect_@gmx.net> 29 * Nicolai Haehnle <prefect_@gmx.net>
30 * Jérôme Glisse <glisse@freedesktop.org> 30 * Jérôme Glisse <glisse@freedesktop.org>
31 */ 31 */
32#ifdef HAVE_CONFIG_H
33#include "config.h"
34#endif
35#include <assert.h> 32#include <assert.h>
36#include <errno.h> 33#include <errno.h>
37#include <stdlib.h> 34#include <stdlib.h>
diff --git a/radeon/radeon_cs_space.c b/radeon/radeon_cs_space.c
index 69287be5..8531c345 100644
--- a/radeon/radeon_cs_space.c
+++ b/radeon/radeon_cs_space.c
@@ -25,9 +25,6 @@
25 */ 25 */
26/* 26/*
27 */ 27 */
28#ifdef HAVE_CONFIG_H
29#include <config.h>
30#endif
31#include <assert.h> 28#include <assert.h>
32#include <errno.h> 29#include <errno.h>
33#include <stdlib.h> 30#include <stdlib.h>
diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c
index 04df77d6..3cafcfcb 100644
--- a/radeon/radeon_surface.c
+++ b/radeon/radeon_surface.c
@@ -26,9 +26,6 @@
26 * Authors: 26 * Authors:
27 * Jérôme Glisse <jglisse@redhat.com> 27 * Jérôme Glisse <jglisse@redhat.com>
28 */ 28 */
29#ifdef HAVE_CONFIG_H
30#include <config.h>
31#endif
32#include <stdbool.h> 29#include <stdbool.h>
33#include <assert.h> 30#include <assert.h>
34#include <errno.h> 31#include <errno.h>