$OpenBSD: patch-store_source_fileunx_hxx,v 1.2 2009/01/22 17:44:39 robert Exp $
--- store/source/fileunx.hxx.orig.port	Fri Aug  1 07:34:57 2008
+++ store/source/fileunx.hxx	Thu Jan 15 14:47:50 2009
@@ -41,7 +41,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
-#if defined(FREEBSD) || defined(NETBSD) || defined(MACOSX)
+#if defined(FREEBSD) || defined(NETBSD) || defined(MACOSX) || defined(OPENBSD)
 #define EDEADLOCK EDEADLK
 #endif /* FREEBSD || NETBSD || MACOSX */
 
@@ -81,7 +81,7 @@ inline sal_Int32 __store_errno (void)
 /*
  * __store_malign.
  */
-#if   defined(FREEBSD) || defined(LINUX) || defined(MACOSX)
+#if   defined(FREEBSD) || defined(LINUX) || defined(MACOSX) || defined (OPENBSD)
 inline sal_uInt32 __store_malign (void)
 {
 	return (sal_uInt32)::getpagesize();
