summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/execv.c')
-rw-r--r--cpukit/posix/src/execv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/posix/src/execv.c b/cpukit/posix/src/execv.c
index e7c9a9ce85..46595232ad 100644
--- a/cpukit/posix/src/execv.c
+++ b/cpukit/posix/src/execv.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#ifndef HAVE_EXECV
+
#include <errno.h>
#include <rtems/seterr.h>
@@ -25,3 +27,5 @@ int execv(
{
rtems_set_errno_and_return_minus_one( ENOSYS );
}
+
+#endif