Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libdrm
u_Fix-compilation-on-systems-that-don-t-provide...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch of Package libdrm
From 23fb372294bb72335157bc5b9b5a60235ce72f41 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch <sndirsch@suse.de> Date: Sun, 23 Sep 2012 12:50:40 +0200 Subject: [PATCH] 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 --- include/drm/drm.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/drm/drm.h b/include/drm/drm.h index a847689..a6164ae 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -618,7 +618,11 @@ struct drm_get_cap { __u64 value; }; +#ifdef O_CLOEXEC #define DRM_CLOEXEC O_CLOEXEC +#else +#define DRM_CLOEXEC 0 +#endif struct drm_prime_handle { __u32 handle; -- 1.7.3.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor