openbsd-ports/lang/scm/patches/patch-scm_unix_c
2001-02-03 20:42:45 +00:00

14 lines
398 B
Plaintext

$OpenBSD: patch-scm_unix_c,v 1.2 2001/02/03 20:42:48 espie Exp $
--- unix.c.orig Tue Jan 30 14:17:52 2001
+++ unix.c Tue Jan 30 14:18:20 2001
@@ -62,6 +62,9 @@ SCM stat2scm P((struct stat *stat_temp))
# ifdef SVR4
# include <unistd.h>
# endif
+# ifdef __OpenBSD__
+# include <unistd.h>
+# endif
#endif /* STDC_HEADERS */
/* Only the superuser can successfully execute mknod and acct */