amdgpu: add a bunch of missing config.h includes
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Aug 2015 16:17:43 +0000 (17:17 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 13 Aug 2015 16:43:24 +0000 (17:43 +0100)
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>
amdgpu/amdgpu_cs.c
amdgpu/amdgpu_device.c
amdgpu/amdgpu_gpu_info.c
amdgpu/amdgpu_vamgr.c
amdgpu/util_hash.c
amdgpu/util_hash_table.c

index 4ec1941..6caf7ff 100644 (file)
  * OTHER DEALINGS IN THE SOFTWARE.
  *
 */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
index 5f21b32..c21bb74 100644 (file)
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <sys/stat.h>
 #include <errno.h>
 #include <string.h>
index 16a463e..5994e75 100644 (file)
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <errno.h>
 #include <string.h>
 
index ced4f4f..dd0b420 100644 (file)
  *
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
index 7e59041..87cb671 100644 (file)
   *   Zack Rusin <zackr@vmware.com>
   */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "util_hash.h"
 
 #include <stdlib.h>
index ce6f1d5..fa7f6ea 100644 (file)
@@ -38,6 +38,9 @@
  */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #include "util_hash_table.h"
 #include "util_hash.h"