diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-22 09:34:49 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-03-24 11:41:22 -0500 |
commit | 85f690189b101aa4a4997951e7f226edc1cf4b7d (patch) | |
tree | d4f99430ca4649a3bfdfe34ed97be54df2bef475 | |
parent | shell/hexdump-conv.c: Disable sccsid to avoid unused warning (diff) | |
download | rtems-85f690189b101aa4a4997951e7f226edc1cf4b7d.tar.bz2 |
shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warnings
-rw-r--r-- | cpukit/libmisc/shell/hexdump-odsyntax.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/hexdump-odsyntax.c b/cpukit/libmisc/shell/hexdump-odsyntax.c index b69bc51926..88c7b80501 100644 --- a/cpukit/libmisc/shell/hexdump-odsyntax.c +++ b/cpukit/libmisc/shell/hexdump-odsyntax.c @@ -43,6 +43,9 @@ static char sccsid[] = "@(#)odsyntax.c 8.2 (Berkeley) 5/4/95"; __FBSDID("$FreeBSD: src/usr.bin/hexdump/odsyntax.c,v 1.17 2004/07/22 13:14:42 johan Exp $"); #endif +#ifdef __rtems__ +#define _GNU_SOURCE +#endif #include <sys/types.h> #include <ctype.h> |