aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-02-01 05:12:05 -0600
committerEric Engestrom2018-03-20 13:19:26 -0500
commit0926f0af54d654b1a95826066edcae30b8052581 (patch)
tree546efdeadf79644a90ca0c0418dbdea848b81ef4 /amdgpu/amdgpu_device.c
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 'amdgpu/amdgpu_device.c')
-rw-r--r--amdgpu/amdgpu_device.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
index fb2cfb57..d81efcf8 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_device.c
@@ -28,10 +28,6 @@
28 * 28 *
29 */ 29 */
30 30
31#ifdef HAVE_CONFIG_H
32#include "config.h"
33#endif
34
35#include <sys/stat.h> 31#include <sys/stat.h>
36#include <errno.h> 32#include <errno.h>
37#include <string.h> 33#include <string.h>