summaryrefslogtreecommitdiff
path: root/libguile/r6rs-ports.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-02-27 22:04:39 -0500
committerMark H Weaver <mhw@netris.org>2014-02-27 22:38:48 -0500
commitbc8e6d7d8ca602c86591466f5e9d816a614700f5 (patch)
treebb4ab43f533fba68286ebdbb01a23f3969e32a9d /libguile/r6rs-ports.c
parentca6adcc6df462f325dfa7b099295fd6212d02b43 (diff)
Rely on Gnulib for <unistd.h>.
* libguile/async.c: * libguile/backtrace.c: * libguile/error.c: * libguile/filesys.c: * libguile/fports.c: * libguile/gc-malloc.c: * libguile/gc.c: * libguile/gdbint.c: * libguile/init.c: * libguile/ioext.c: * libguile/load.c: * libguile/mallocs.c: * libguile/mkstemp.c: * libguile/ports.c: * libguile/posix.c: * libguile/r6rs-ports.c: * libguile/random.c: * libguile/rw.c: * libguile/scmsigs.c: * libguile/script.c: * libguile/simpos.c: * libguile/socket.c: * libguile/stime.c: * libguile/strports.c: * libguile/threads.c: Unconditionally include <unistd.h>.
Diffstat (limited to 'libguile/r6rs-ports.c')
-rw-r--r--libguile/r6rs-ports.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libguile/r6rs-ports.c b/libguile/r6rs-ports.c
index 5f3b156c0..83f899670 100644
--- a/libguile/r6rs-ports.c
+++ b/libguile/r6rs-ports.c
@@ -20,10 +20,7 @@
# include <config.h>
#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
+#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>