diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-08 08:42:15 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-12 07:36:19 +0200 |
commit | f2ffd646fa483c02284e0b01480dfe487992203d (patch) | |
tree | 81998d2dbcfe9e955fb21f91584bedccb4c16067 /cpukit/libmisc/shell | |
parent | rtems: Delete Region_Control::page_size (diff) | |
download | rtems-f2ffd646fa483c02284e0b01480dfe487992203d.tar.bz2 |
shell: Fix warning visible with latest Newlib
Works also with previous Newlib versions.
Diffstat (limited to 'cpukit/libmisc/shell')
-rw-r--r-- | cpukit/libmisc/shell/main_date.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_date.c b/cpukit/libmisc/shell/main_date.c index 9b970a68a6..6070ff065f 100644 --- a/cpukit/libmisc/shell/main_date.c +++ b/cpukit/libmisc/shell/main_date.c @@ -16,10 +16,12 @@ #include "config.h" #endif +#define _GNU_SOURCE #include <stdio.h> #include <unistd.h> #include <string.h> #include <errno.h> +#include <time.h> #include <rtems.h> #include <rtems/shell.h> |