summaryrefslogtreecommitdiffstats
path: root/ioext.c
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:24 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:24 -0800
commit1edcb9b62a1a520eddae8403c19d841c9b18737f (patch)
treebc0a43d9b3905726a76ed6f0528b54275f23d082 /ioext.c
parent5ca6e8e6a4e5c022a6fb5d28f30219c22c99eda8 (diff)
downloadscm-1edcb9b62a1a520eddae8403c19d841c9b18737f.tar.gz
scm-1edcb9b62a1a520eddae8403c19d841c9b18737f.zip
Import Upstream version 5b3upstream/5b3
Diffstat (limited to 'ioext.c')
-rw-r--r--ioext.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/ioext.c b/ioext.c
index 3e77a29..c653970 100644
--- a/ioext.c
+++ b/ioext.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 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
@@ -66,6 +66,14 @@ SCM stat2scm P((struct stat *stat_temp));
#ifdef __sgi__
# include <unistd.h>
#endif
+#ifdef freebsd
+# include <unistd.h>
+#endif
+/* added by Denys Duchier */
+#ifdef __svr4__
+# include <sys/types.h>
+# include <unistd.h>
+#endif
#ifndef STDC_HEADERS
int chdir P((const char *path));