Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm headers to be moved in another directory without changes, like for the libdrm imports.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -24,8 +24,7 @@ · 23 unmodified lines | |||
| 24 | #ifndef QXL_DRM_H | 24 | #ifndef QXL_DRM_H |
| 25 | #define QXL_DRM_H | 25 | #define QXL_DRM_H |
| 26 | 26 | ||
| 27 | #include <stddef.h> | 27 | #include "drm.h" |
| 28 | #include "drm/drm.h" | ||
| 29 | 28 | ||
| 30 | /* Please note that modifications to all structs defined here are | 29 | /* Please note that modifications to all structs defined here are |
| 31 | * subject to backwards-compatibility constraints. | 30 | * subject to backwards-compatibility constraints. |