From 1edcb9b62a1a520eddae8403c19d841c9b18737f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:24 -0800 Subject: Import Upstream version 5b3 --- unix.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'unix.c') diff --git a/unix.c b/unix.c index 4437189..1aefd22 100644 --- a/unix.c +++ b/unix.c @@ -49,6 +49,7 @@ /* #include */ #include + 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 +# endif #endif /* STDC_HEADERS */ /* Only the superuser can successfully execute mknod and acct */ -- cgit v1.2.3