mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 07:11:05 +00:00
2005-04-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* zebra.h: If GNU_LINUX is defined, then define _GNU_SOURCE. This fixes a problem where we were not getting the declaration of strnlen in <string.h>.
This commit is contained in:
parent
6811845b67
commit
d66a7b5663
@ -1,3 +1,9 @@
|
||||
2005-04-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
||||
|
||||
* zebra.h: If GNU_LINUX is defined, then define _GNU_SOURCE. This
|
||||
fixes a problem where we were not getting the declaration of strnlen
|
||||
in <string.h>.
|
||||
|
||||
2005-04-08 Hasso Tepper <hasso at quagga.net>
|
||||
|
||||
* routemap.[ch]: Added "description ..." command.
|
||||
|
@ -25,6 +25,10 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
#include "config.h"
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#ifdef GNU_LINUX
|
||||
#define _GNU_SOURCE
|
||||
#endif /* GNU_LINUX */
|
||||
|
||||
#ifdef SUNOS_5
|
||||
#define _XPG4_2
|
||||
#define __EXTENSIONS__
|
||||
|
Loading…
Reference in New Issue
Block a user