openbsd-ports/japanese/jvim/patches/patch-src_vim_h
2007-10-26 21:42:18 +00:00

31 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_vim_h,v 1.1 2007/10/26 21:42:18 ajacoutot Exp $
--- src/vim.h.orig Mon Jul 3 03:26:28 1995
+++ src/vim.h Fri Oct 26 23:36:45 2007
@@ -92,7 +92,7 @@
# include <stdlib.h>
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
# include <unistd.h>
# include <sys/signal.h>
#endif
@@ -153,7 +153,7 @@
#endif
#ifdef UNIX
-# if !defined(DOMAIN) && !defined(MACH) && !defined(PureBSD43) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+# if !defined(DOMAIN) && !defined(MACH) && !defined(PureBSD43) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
# ifndef _POSIX_SOURCE
# define _POSIX_SOURCE
# endif
@@ -191,7 +191,7 @@
# endif
#endif
-#if defined(UNICOS) || defined(__FreeBSD__) || defined(__NetBSD__) /* would make sense for other systems too */
+#if defined(UNICOS) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) /* would make sense for other systems too */
# include <errno.h>
#endif