Instead of using linux/types.h, drm headers should use drm.h, in order to handle the portability issues in only one place.
Unified · Split
| @@ -24,7 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | #ifndef DRM_FOURCC_H |
| 25 | 25 | #define DRM_FOURCC_H |
| 26 | 26 | |
| 27 | −#include <linux/types.h> | |
| 27 | +#include "drm.h" | |
| 28 | 28 | |
| 29 | 29 | #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ |
| 30 | 30 | ((__u32)(c) << 16) | ((__u32)(d) << 24)) |