29 lines
820 B
Diff
29 lines
820 B
Diff
|
---
|
||
|
plugins/amdgpu/Makefile | 3 ++-
|
||
|
plugins/amdgpu/kfd_ioctl.h | 2 +-
|
||
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/plugins/amdgpu/Makefile
|
||
|
+++ b/plugins/amdgpu/Makefile
|
||
|
@@ -5,7 +5,8 @@ PLUGIN_SOBJ := amdgpu_plugin.so
|
||
|
PLUGIN_INCLUDE := -iquote../../include
|
||
|
PLUGIN_INCLUDE += -iquote../../criu/include
|
||
|
PLUGIN_INCLUDE += -iquote../../criu/arch/$(ARCH)/include/
|
||
|
-PLUGIN_INCLUDE += -iquote../../
|
||
|
+PLUGIN_INCLUDE += -iquote../../include
|
||
|
+PLUGIN_INCLUDE += -iquote../..
|
||
|
|
||
|
COMPEL := ../../compel/compel-host
|
||
|
LIBDRM_INC := -I/usr/include/libdrm
|
||
|
--- a/plugins/amdgpu/kfd_ioctl.h
|
||
|
+++ b/plugins/amdgpu/kfd_ioctl.h
|
||
|
@@ -23,7 +23,7 @@
|
||
|
#ifndef KFD_IOCTL_H_INCLUDED
|
||
|
#define KFD_IOCTL_H_INCLUDED
|
||
|
|
||
|
-#include <drm/drm.h>
|
||
|
+#include <libdrm/drm.h>
|
||
|
#include <linux/ioctl.h>
|
||
|
|
||
|
/*
|