History

drm: align #include directives with libdrm in uapi headers

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.

Daniel Vetter committed 10 years ago

Commit 0b1ccd41 parent 4c4925f1 file · +1 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/drm.h+1−1
@@ -685,7 +685,7 @@ struct drm_prime_handle { · 684 unmodified lines
685 __s32 fd;685 __s32 fd;
686};686};
687 687
688#include <drm/drm_mode.h>688#include "drm_mode.h"
689 689
690#define DRM_IOCTL_BASE 'd'690#define DRM_IOCTL_BASE 'd'
691#define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr)691#define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t