summaryrefslogtreecommitdiff
path: root/lib/sigevent.c
diff options
context:
space:
mode:
authorajs <ajs>2005-04-08 19:02:04 +0000
committerajs <ajs>2005-04-08 19:02:04 +0000
commit67bf16c0f8179af05bcff04d19226866a8b7e806 (patch)
tree4ff6db9b640602b6b99bd03b3405aeffcbf58850 /lib/sigevent.c
parent926fe8f1fce88d0889e47a9f5c6d78c6bc11f3f6 (diff)
2005-04-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* sigevent.c: On GNU_LINUX, check whether __USE_GNU is already defined.
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 */