opnsense-ports/graphics/libdrm/files/patch-libsync.h
Franco Fichtner eec48e955d */*: sync with upstream
Taken from: FreeBSD
2017-05-21 11:57:34 +02:00

14 lines
283 B
C

# define ETIME as ETIMEOUT same as done in Mesa
#
--- libsync.h.orig 2017-04-14 23:29:46 UTC
+++ libsync.h
@@ -35,6 +35,9 @@
#include <sys/ioctl.h>
#include <sys/poll.h>
#include <unistd.h>
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
#if defined(__cplusplus)
extern "C" {