summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/exec.cc')
-rw-r--r--winsup/cygwin/exec.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exec.cc b/winsup/cygwin/exec.cc
index fb92fdcb8..b7342d7c2 100644
--- a/winsup/cygwin/exec.cc
+++ b/winsup/cygwin/exec.cc
@@ -93,6 +93,7 @@ execve (const char *path, char *const argv[], char *const envp[])
MALLOC_CHECK;
return spawnve (_P_OVERLAY, path, argv, envp);
}
+EXPORT_ALIAS (execve, _execve) /* For newlib */
extern "C" int
execvp (const char *file, char * const *argv)