summaryrefslogtreecommitdiff
path: root/libguile/simpos.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-08-12 20:23:35 +0000
committerKevin Ryde <user42@zip.com.au>2003-08-12 20:23:35 +0000
commit6a4d17af96ea0a73c4fd77405920d75a8cc4d629 (patch)
tree663f5e5df02f74bf357626064086fc0944e5ff46 /libguile/simpos.c
parent4d332f190ce433a2e4237f05de8467b90cedb2a5 (diff)
downloadguile-6a4d17af96ea0a73c4fd77405920d75a8cc4d629.tar.gz
(getenv): Use <stdlib.h> for prototype.
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"