pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / xorg-server / patches / 22-record-regset.patch
blob229e325488fc1818cfabc4bd2176c45e64cdc4d2
1 diff --git a/record/record.c b/record/record.c
2 index f3a26a7..6d79de4 100644
3 --- a/record/record.c
4 +++ b/record/record.c
5 @@ -1393,6 +1393,9 @@ typedef struct {
6 short first, last; /* if for extension, major opcode interval */
7 } SetInfoRec, *SetInfoPtr;
9 +#undef ERR /* protect against #define ERR in <sys/regset.h> on Solaris x86,
10 + which gets included indirectly via #include <stdlib.h> */
12 /* These constant are used to index into an array of SetInfoRec. */
13 enum { REQ, /* set info for requests */
14 REP, /* set info for replies */