We can't use <drm/*.h> because that upsets the serach paths in libdrm. Also, drop the circular inclusion in drm_mode.h. v2: Actually change the right headers. v3: Drop the #include removal per Emil's request.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -685,7 +685,7 @@ struct drm_prime_handle { · 684 unmodified lines | ||
| 685 | 685 | __s32 fd; |
| 686 | 686 | }; |
| 687 | 687 | |
| 688 | −#include <drm/drm_mode.h> | |
| 688 | +#include "drm_mode.h" | |
| 689 | 689 | |
| 690 | 690 | #define DRM_IOCTL_BASE 'd' |
| 691 | 691 | #define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr) |