1 diff --git a/record/record.c b/record/record.c
2 index f3a26a7..6d79de4 100644
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 */