summaryrefslogtreecommitdiffstats
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/unix.c b/unix.c
index 4437189..1aefd22 100644
--- a/unix.c
+++ b/unix.c
@@ -49,6 +49,7 @@
/* #include <sys/wait.h> */
#include <sys/stat.h>
+
SCM stat2scm P((struct stat *stat_temp));
#ifndef STDC_HEADERS
@@ -57,6 +58,10 @@ SCM stat2scm P((struct stat *stat_temp));
int readlink P((const char *path, char *buf, sizet bufsiz));
int acct P((const char *filename));
int nice P((int inc));
+#else /* added by Denys Duchier: for acct, etc... */
+# ifdef SVR4
+# include <unistd.h>
+# endif
#endif /* STDC_HEADERS */
/* Only the superuser can successfully execute mknod and acct */