From: ajs Date: Fri, 8 Apr 2005 19:02:04 +0000 (+0000) Subject: 2005-04-08 Andrew J. Schorr X-Git-Tag: frr-2.0-rc1~3092 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=67bf16c0f8179af05bcff04d19226866a8b7e806;p=mirror%2Ffrr.git 2005-04-08 Andrew J. Schorr * sigevent.c: On GNU_LINUX, check whether __USE_GNU is already defined. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index a6f3ca494a..13426eed1c 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-04-08 Andrew J. Schorr + + * sigevent.c: On GNU_LINUX, check whether __USE_GNU is already defined. + 2005-04-08 Andrew J. Schorr * vty.c: (vty_log_fixed) Use casts to (void *) to try to eliminate diff --git a/lib/sigevent.c b/lib/sigevent.c index 9c25d7649b..08141afaee 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 #endif /* HAVE_UCONTEXT_H */