[PATCH] drm: Fix drm.h uapi header for Windows

Simon Ser contact at emersion.fr
Mon Dec 7 10:47:24 UTC 2020


On Monday, December 7th, 2020 at 11:44 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:

> But then, the code in the header should be literally
>
> #ifndef DRM_FOURCC_STANDALONE
> #include "drm.h"
> #endif
>
> without an #else branch.

As long as there is a #include "drm_basic_types.h" right before
(drm_fourcc.h needs __u32 and __u64), I believe this can work too
indeed.


More information about the dri-devel mailing list