[PATCH 14/14] shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warnings
Joel Sherrill
joel at rtems.org
Tue Mar 22 14:40:42 UTC 2016
---
cpukit/libmisc/shell/hexdump-odsyntax.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cpukit/libmisc/shell/hexdump-odsyntax.c b/cpukit/libmisc/shell/hexdump-odsyntax.c
index b69bc51..88c7b80 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>
--
1.8.3.1
More information about the devel
mailing list