summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-28 13:18:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-28 13:18:52 +0200
commit719231380271d3d6e7720a93d96f3dfcb34bb324 (patch)
treef3f8671d39c4e943e57e830dda1234fa637920b1
parent910adc3e838f72e66d5ffdc71140412cd8607b89 (diff)
downloadrtems-719231380271d3d6e7720a93d96f3dfcb34bb324.tar.bz2
shell: Fix missing prototype warning
-rw-r--r--cpukit/libmisc/shell/main_dd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_dd.c b/cpukit/libmisc/shell/main_dd.c
index e9c8bf386d..9d1bda74a8 100644
--- a/cpukit/libmisc/shell/main_dd.c
+++ b/cpukit/libmisc/shell/main_dd.c
@@ -49,6 +49,7 @@ static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
__FBSDID("$FreeBSD: src/bin/dd/dd.c,v 1.43 2004/08/15 19:10:05 rwatson Exp $");
#endif
+#define _GNU_SOURCE
#include <rtems.h>
#include <rtems/shell.h>
#include <rtems/shellconfig.h>