aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libdrm/files/patch-libsync.h
blob: 986dc2cc53e6413fd958937086ac64e7b19988e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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" {