$OpenBSD: patch-store_source_fileunx_hxx,v 1.2 2006/08/20 03:36:53 kurt Exp $
--- store/source/fileunx.hxx.orig.port	Mon Jun 19 20:32:01 2006
+++ store/source/fileunx.hxx	Fri Aug 18 15:47:45 2006
@@ -46,7 +46,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 */
 
@@ -86,7 +86,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();
