summaryrefslogtreecommitdiff
path: root/posix/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/execv.c')
-rw-r--r--posix/execv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/posix/execv.c b/posix/execv.c
index cb372abe37..a3c51c7be4 100644
--- a/posix/execv.c
+++ b/posix/execv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1997, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -18,6 +18,9 @@
#include <unistd.h>
+#ifndef HAVE_GNU_LD
+# define __environ environ
+#endif
/* Execute PATH with arguments ARGV and environment from `environ'. */
int