$OpenBSD: patch-stoc_source_corereflection_criface_cxx,v 1.4 2018/02/05 17:15:05 robert Exp $
Index: stoc/source/corereflection/criface.cxx
--- stoc/source/corereflection/criface.cxx.orig
+++ stoc/source/corereflection/criface.cxx
@@ -26,7 +26,7 @@
 #ifdef SAL_UNX
 #include <sal/alloca.h>
 #endif
-#if !(defined(MACOSX) || defined(IOS) || defined(FREEBSD))
+#if !(defined(MACOSX) || defined(IOS) || defined(FREEBSD) || defined(OPENBSD))
 #include <malloc.h>
 #endif
 #include <o3tl/any.hxx>
