shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warnings

This commit is contained in:
Joel Sherrill
2016-03-24 11:41:22 -05:00
parent 037f7a6096
commit 85f690189b
+3
View File
@@ -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>