summaryrefslogtreecommitdiff
path: root/libguile/print.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>2001-03-10 16:56:09 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>2001-03-10 16:56:09 +0000
commite6e2e95aa53f876e25bee2b0f867350c4a2ddf7a (patch)
tree86bf55ed09f3c4b5ce871e4856bb176871c9a341 /libguile/print.c
parent451d273ac98c0b7f0e5e2c9e267ff14170babf23 (diff)
downloadguile-e6e2e95aa53f876e25bee2b0f867350c4a2ddf7a.tar.gz
* _scm.h: Removed #include <errno.h>.
* error.c, net_db.c, putenv.c, stime.c: Removed declaration of errno variable (can be a macro on some systems, for example when using linux libc with threads). * error.c, filesys.c, gc.c, ioext.c, iselect.c, net_db.c, ports.c, posix.c, print.c, putenv.c, scmsigs.c, script.c, simpos.c, smob.c, socket.c, srcprop.c, stime.c, strop.c, unif.c, vports.c: Added #include <errno.h> in these 20 out of 100 files.
Diffstat (limited to 'libguile/print.c')
-rw-r--r--libguile/print.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libguile/print.c b/libguile/print.c
index 0d822c58b..0fdb24862 100644
--- a/libguile/print.c
+++ b/libguile/print.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -44,6 +44,8 @@
+#include <errno.h>
+
#include "libguile/_scm.h"
#include "libguile/chars.h"
#include "libguile/continuations.h"