aboutsummaryrefslogtreecommitdiffstats
path: root/libkms
diff options
context:
space:
mode:
authorEric Engestrom2018-02-01 05:12:05 -0600
committerEric Engestrom2018-03-20 13:19:26 -0500
commit0926f0af54d654b1a95826066edcae30b8052581 (patch)
tree546efdeadf79644a90ca0c0418dbdea848b81ef4 /libkms
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 'libkms')
-rw-r--r--libkms/api.c4
-rw-r--r--libkms/dumb.c4
-rw-r--r--libkms/exynos.c4
-rw-r--r--libkms/intel.c4
-rw-r--r--libkms/internal.h4
-rw-r--r--libkms/linux.c4
-rw-r--r--libkms/nouveau.c4
-rw-r--r--libkms/radeon.c4
-rw-r--r--libkms/vmwgfx.c4
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 @@
26 **************************************************************************/ 26 **************************************************************************/
27 27
28 28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <errno.h> 29#include <errno.h>
34#include <stdlib.h> 30#include <stdlib.h>
35#include <string.h> 31#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 @@
26 **************************************************************************/ 26 **************************************************************************/
27 27
28 28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <errno.h> 29#include <errno.h>
34#include <stdio.h> 30#include <stdio.h>
35#include <stdlib.h> 31#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 @@
25 * SOFTWARE. 25 * SOFTWARE.
26 */ 26 */
27 27
28#ifdef HAVE_CONFIG_H
29#include "config.h"
30#endif
31
32#include <errno.h> 28#include <errno.h>
33#include <stdio.h> 29#include <stdio.h>
34#include <stdlib.h> 30#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 @@
26 **************************************************************************/ 26 **************************************************************************/
27 27
28 28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <errno.h> 29#include <errno.h>
34#include <stdio.h> 30#include <stdio.h>
35#include <stdlib.h> 31#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 @@
29#ifndef INTERNAL_H_ 29#ifndef INTERNAL_H_
30#define INTERNAL_H_ 30#define INTERNAL_H_
31 31
32#ifdef HAVE_CONFIG_H
33#include "config.h"
34#endif
35
36#include "libdrm_macros.h" 32#include "libdrm_macros.h"
37#include "libkms.h" 33#include "libkms.h"
38 34
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 @@
29 * going from fd to pci id via fstat and udev. 29 * going from fd to pci id via fstat and udev.
30 */ 30 */
31 31
32
33#ifdef HAVE_CONFIG_H
34#include "config.h"
35#endif
36#include <errno.h> 32#include <errno.h>
37#include <stdio.h> 33#include <stdio.h>
38#include <stdlib.h> 34#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 @@
26 **************************************************************************/ 26 **************************************************************************/
27 27
28 28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <errno.h> 29#include <errno.h>
34#include <stdio.h> 30#include <stdio.h>
35#include <stdlib.h> 31#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 @@
26 **************************************************************************/ 26 **************************************************************************/
27 27
28 28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <errno.h> 29#include <errno.h>
34#include <stdio.h> 30#include <stdio.h>
35#include <stdlib.h> 31#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 @@
26 **************************************************************************/ 26 **************************************************************************/
27 27
28 28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <errno.h> 29#include <errno.h>
34#include <stdlib.h> 30#include <stdlib.h>
35#include <string.h> 31#include <string.h>