$OpenBSD: patch-mozilla_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops_h,v 1.1 2015/09/28 09:30:39 landry Exp $
--- mozilla/toolkit/components/protobuf/src/google/protobuf/stubs/atomicops.h.orig	Fri Sep 25 09:35:08 2015
+++ mozilla/toolkit/components/protobuf/src/google/protobuf/stubs/atomicops.h	Mon Sep 28 08:57:24 2015
@@ -78,7 +78,11 @@ typedef intptr_t Atomic64;
 
 // Use AtomicWord for a machine-sized pointer.  It will use the Atomic32 or
 // Atomic64 routines below, depending on your architecture.
+#if defined(__OpenBSD__) && !defined(GOOGLE_PROTOBUF_ARCH_64_BIT)
+typedef Atomic32 AtomicWord;
+#else
 typedef intptr_t AtomicWord;
+#endif
 
 // Atomically execute:
 //      result = *ptr;
