summaryrefslogtreecommitdiff
path: root/libc/stdlib/setenv.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-11 01:20:50 +0000
committerEric Andersen <andersen@codepoet.org>2000-11-11 01:20:50 +0000
commitdc7f2e1bf0dc6ab6bec1d531026fb39271287711 (patch)
tree4d665da55e40f6a14cd992e67b3ecbd5cd783e86 /libc/stdlib/setenv.c
parent91102e0dece0d33acf56a579dcab84b043f08c8b (diff)
Fix up a few messes so it compiles cleanly again.
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r--libc/stdlib/setenv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index b17280562..6628e4cc7 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -19,6 +19,7 @@ Cambridge, MA 02139, USA. */
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <errno.h>
#if !defined(HAVE_GNU_LD) && !defined (__ELF__)
#define __environ environ