summaryrefslogtreecommitdiff
path: root/libguile/simpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/simpos.c')
-rw-r--r--libguile/simpos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/simpos.c b/libguile/simpos.c
index d124d5bf4..fb0a13271 100644
--- a/libguile/simpos.c
+++ b/libguile/simpos.c
@@ -22,6 +22,7 @@
#endif
#include <errno.h>
+#include <stdlib.h> /* for getenv */
#include "libguile/_scm.h"
@@ -74,7 +75,6 @@ SCM_DEFINE (scm_system, "system", 0, 1, 0,
#undef FUNC_NAME
#endif /* HAVE_SYSTEM */
-extern char *getenv();
SCM_DEFINE (scm_getenv, "getenv", 1, 0, 0,
(SCM nam),
"Looks up the string @var{name} in the current environment. The return\n"