summaryrefslogtreecommitdiff
path: root/lib/sigevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sigevent.c')
-rw-r--r--lib/sigevent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index 9c25d764..08141afa 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -27,7 +27,9 @@
#ifdef HAVE_UCONTEXT_H
#ifdef GNU_LINUX
/* get REG_EIP from ucontext.h */
+#ifndef __USE_GNU
#define __USE_GNU
+#endif /* __USE_GNU */
#endif /* GNU_LINUX */
#include <ucontext.h>
#endif /* HAVE_UCONTEXT_H */