openbsd-ports/lang/scm/patches/patch-scm_unix_c
espie baca2d66a2 Scheme port, loosely based on FreeBSD port.
Still needs some work (check that shared libraries work, add X11
support...)
2001-01-30 14:59:19 +00:00

14 lines
410 B
Plaintext

$OpenBSD: patch-scm_unix_c,v 1.1.1.1 2001/01/30 14:59:19 espie Exp $
--- scm/unix.c.orig Tue Jan 30 14:17:52 2001
+++ scm/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 */