summaryrefslogtreecommitdiff
path: root/amdgpu
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-08-07 17:17:43 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-08-13 17:43:24 +0100
commitf4c2bfd63e55b9c878f4c1420af15a88c57b43a2 (patch)
tree5c61b53dba2effff1c11967e54f65c3cc6941ff2 /amdgpu
parentf4d14f147cfc2bdea4f1ffafcfd302ebdfbcef1d (diff)
amdgpu: add a bunch of missing config.h includes
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'amdgpu')
-rw-r--r--amdgpu/amdgpu_cs.c5
-rw-r--r--amdgpu/amdgpu_device.c4
-rw-r--r--amdgpu/amdgpu_gpu_info.c4
-rw-r--r--amdgpu/amdgpu_vamgr.c4
-rw-r--r--amdgpu/util_hash.c4
-rw-r--r--amdgpu/util_hash_table.c3
6 files changed, 24 insertions, 0 deletions
diff --git a/amdgpu/amdgpu_cs.c b/amdgpu/amdgpu_cs.c
index 4ec19410..6caf7ff9 100644
--- a/amdgpu/amdgpu_cs.c
+++ b/amdgpu/amdgpu_cs.c
@@ -20,6 +20,11 @@
* OTHER DEALINGS IN THE SOFTWARE.
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
index 5f21b320..c21bb745 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_device.c
@@ -29,6 +29,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
diff --git a/amdgpu/amdgpu_gpu_info.c b/amdgpu/amdgpu_gpu_info.c
index 16a463e0..5994e759 100644
--- a/amdgpu/amdgpu_gpu_info.c
+++ b/amdgpu/amdgpu_gpu_info.c
@@ -21,6 +21,10 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <string.h>
diff --git a/amdgpu/amdgpu_vamgr.c b/amdgpu/amdgpu_vamgr.c
index ced4f4fd..dd0b4209 100644
--- a/amdgpu/amdgpu_vamgr.c
+++ b/amdgpu/amdgpu_vamgr.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <errno.h>
diff --git a/amdgpu/util_hash.c b/amdgpu/util_hash.c
index 7e590419..87cb671b 100644
--- a/amdgpu/util_hash.c
+++ b/amdgpu/util_hash.c
@@ -30,6 +30,10 @@
* Zack Rusin <zackr@vmware.com>
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "util_hash.h"
#include <stdlib.h>
diff --git a/amdgpu/util_hash_table.c b/amdgpu/util_hash_table.c
index ce6f1d59..fa7f6eab 100644
--- a/amdgpu/util_hash_table.c
+++ b/amdgpu/util_hash_table.c
@@ -38,6 +38,9 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "util_hash_table.h"
#include "util_hash.h"