void-packages/srcpkgs/xf86-video-intel/patches/O_CLOEXEC.patch

11 lines
186 B
Diff

--- 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>