diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/posix/src/_execve.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/posix/src/_execve.c b/cpukit/posix/src/_execve.c index aa57ccb8a3..aecf838a5f 100644 --- a/cpukit/posix/src/_execve.c +++ b/cpukit/posix/src/_execve.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2013. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -18,8 +18,14 @@ #include "config.h" #endif +/* + * Needed to get the prototype for this newlib helper method + */ +#define _COMPILING_NEWLIB + #include <errno.h> #include <rtems/seterr.h> +#include <sys/unistd.h> int _execve( const char *path __attribute__((unused)), |