mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Revert "libdrm: add patch to support builds without 'o_cloexec'"
This reverts commit d79d8b0c61d5734de48fa696dfbd0d77fecc64fe.
This commit is contained in:
parent
4b88c152e9
commit
7971c27e3f
@ -1,15 +0,0 @@
|
||||
diff -Naur libdrm-2.4.40-old/include/drm/drm.h libdrm-2.4.40-new/include/drm/drm.h
|
||||
--- libdrm-2.4.40-old/include/drm/drm.h 2012-07-29 06:39:21.000000000 -0700
|
||||
+++ libdrm-2.4.40-new/include/drm/drm.h 2012-11-14 12:54:07.000000000 -0800
|
||||
@@ -618,7 +618,11 @@
|
||||
__u64 value;
|
||||
};
|
||||
|
||||
+#ifdef O_CLOEXEC
|
||||
#define DRM_CLOEXEC O_CLOEXEC
|
||||
+#else
|
||||
+#define DRM_CLOEXEC 0
|
||||
+#endif
|
||||
struct drm_prime_handle {
|
||||
__u32 handle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user