Fix drm.h include path

kernel-headers provides the drm/drm.h path, while libdrm-dev[el]
provides the libdrm/drm.h path, which is what we want to use. Fix the
path so we use the newer drm.h header, as well as fixing SLES, which
doesn't provide drm.h in their kernel-headers.

Change-Id: Icb2b6643698d356169e3baeef17527a1b4e05483
This commit is contained in:
Kent Russell
2021-07-20 12:45:42 -04:00
parent 303c0748ce
commit 4f3440a8ac
+1 -1
View File
@@ -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>
/*