drm: Fix compilation on systems that don't provide O_CLOEXEC
Subsystems (2)
PATCH 1/1 drm: Fix compilation on systems that don't provide O_CLOEXEC
Patch suggestion by Thomas Klausner <wiz%NetBSD.org@localhost>. See also http://mail-index.netbsd.org/pkgsrc-changes/2012/08/13/msg076887.html
Signed-off-by Stefan Dirsch <[email protected]>
--- include/drm/drm.h | 4 ++++ 1 file changed, 4 insertions(+)
include/drm/drm.h +4 -0
@@ -674,7 +674,11 @@ struct drm_set_client_cap { };#define DRM_RDWR O_RDWR +#ifdef O_CLOEXEC #define DRM_CLOEXEC O_CLOEXEC +#else +#define DRM_CLOEXEC 0 +#endif struct drm_prime_handle {__u32 handle;
Signature · 6 lines
2.6.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 1 line · Stefan Dirsch
Patch suggestion by Thomas Klausner <wiz%NetBSD.org@localhost>. See
You might want to replace that with a valid email address, or remove it :)
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel