$OpenBSD: patch-src_common_darktable_c,v 1.3 2013/01/30 01:39:26 brad Exp $
--- src/common/darktable.c.orig	Sat Jul 21 06:44:08 2012
+++ src/common/darktable.c	Sun Jan 27 20:40:08 2013
@@ -54,7 +54,7 @@
 #include <unistd.h>
 #include <locale.h>
 
-#if !defined(__APPLE__) && !defined(__FreeBSD__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
 #include <malloc.h>
 #endif
 #ifdef __APPLE__
