From a85a55263b3eb915c2e4da3a8a38f46d19e4ee1a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 22 Sep 2013 10:02:18 -0500 Subject: _execve.c: Fix missing prototype warnings --- cpukit/posix/src/_execve.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cpukit') 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 #include +#include int _execve( const char *path __attribute__((unused)), -- cgit v1.2.3