drm: make compiler include linux headers when compiling drm for managarm
Subsystems (2)
PATCH 1/1 drm: make compiler include linux headers when compiling drm for managarm
Managarm mainly follows the Linux ABI, and so needs to be in the Linux path when including needed headers here.
Signed-off-by Alexander Richards <[email protected]>
--- include/uapi/drm/drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/drm/drm.h +1 -1
@@ -41,7 +41,7 @@#include <asm/ioctl.h> typedef unsigned int drm_handle_t ; -#elif defined(__linux__) +#elif defined(__linux__) || defined(__managarm__)#include <linux/types.h> #include <asm/ioctl.h>
Signature · 1 line
2.43.0