$OpenBSD: patch-base_shared_memory_posix_cc,v 1.2 2011/04/29 13:18:01 robert Exp $
--- base/shared_memory_posix.cc.orig	Tue Apr 26 10:01:34 2011
+++ base/shared_memory_posix.cc	Thu Apr 28 11:17:49 2011
@@ -150,7 +150,7 @@ bool SharedMemory::CreateNamed(const std::string& name
     created_size_ = size;
   }
   if (fp == NULL) {
-#if !defined(OS_MACOSX)
+#if !defined(OS_MACOSX) && !defined(OS_OPENBSD)
     PLOG(ERROR) << "Creating shared memory in " << path.value() << " failed";
     FilePath dir = path.DirName();
     if (access(dir.value().c_str(), W_OK | X_OK) < 0) {
