aboutsummaryrefslogtreecommitdiff
path: root/graphics/libdrm/files/patch-libsync.h
blob: d9b287d87d0db4ff48b88bd0b59f6f33b1f44992 (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	2026-05-29 08:49:42 UTC
+++ libsync.h
@@ -35,6 +35,9 @@
 #include <sys/ioctl.h>
 #include <poll.h>
 #include <unistd.h>
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
 
 #if defined(__cplusplus)
 extern "C" {