aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-intel/O_CLOEXEC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xf86-video-intel/O_CLOEXEC.patch')
-rw-r--r--main/xf86-video-intel/O_CLOEXEC.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/xf86-video-intel/O_CLOEXEC.patch b/main/xf86-video-intel/O_CLOEXEC.patch
new file mode 100644
index 0000000000..9dbe933588
--- /dev/null
+++ b/main/xf86-video-intel/O_CLOEXEC.patch
@@ -0,0 +1,10 @@
+--- ./src/sna/kgem.c.orig
++++ ./src/sna/kgem.c
+@@ -37,6 +37,7 @@
+ #include <sys/mman.h>
+ #include <time.h>
+ #include <errno.h>
++#define __USE_GNU
+ #include <fcntl.h>
+
+ #include <xf86drm.h>