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

14 lines
351 B
Plaintext

$OpenBSD: patch-scm_sys_c,v 1.2 2001/02/03 20:42:47 espie Exp $
--- sys.c.orig Tue Jan 30 10:09:47 2001
+++ sys.c Tue Jan 30 10:10:32 2001
@@ -72,6 +72,9 @@ SCM *loc_open_file; /* for open-file ca
# ifdef linux
# include <unistd.h>
# endif
+# ifdef __OpenBSD__
+# include <unistd.h>
+# endif
#endif
static void gc_sweep P((int contin_bad));