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

11 lines
185 B
Diff

--- a/src/sna/kgem.c
+++ b/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>