aboutsummaryrefslogtreecommitdiffstats
path: root/amdgpu/amdgpu_gpu_info.c
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2018-02-01 11:12:05 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2018-03-20 18:19:26 +0000
commit0926f0af54d654b1a95826066edcae30b8052581 (patch)
tree546efdeadf79644a90ca0c0418dbdea848b81ef4 /amdgpu/amdgpu_gpu_info.c
parent431f1a147e33b3fae7ea78a47d40a6014b682ebd (diff)
downloadexternal_libdrm-0926f0af54d654b1a95826066edcae30b8052581.tar.gz
external_libdrm-0926f0af54d654b1a95826066edcae30b8052581.tar.bz2
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_gpu_info.c')
-rw-r--r--amdgpu/amdgpu_gpu_info.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/amdgpu/amdgpu_gpu_info.c b/amdgpu/amdgpu_gpu_info.c
index 1efffc6f..b68e1c4f 100644
--- a/amdgpu/amdgpu_gpu_info.c
+++ b/amdgpu/amdgpu_gpu_info.c
@@ -22,10 +22,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <errno.h>
#include <string.h>