$OpenBSD: patch-intern_guardedalloc_intern_mallocn_guarded_impl_c,v 1.3 2014/11/21 18:55:16 pascal Exp $
--- intern/guardedalloc/intern/mallocn_guarded_impl.c.orig	Wed Sep 24 17:29:54 2014
+++ intern/guardedalloc/intern/mallocn_guarded_impl.c	Fri Oct  3 21:53:58 2014
@@ -686,6 +686,9 @@ static int compare_len(const void *p1, const void *p2)
 
 void MEM_guarded_printmemlist_stats(void)
 {
+#ifdef __OpenBSD__
+	printf("MEM_guarded_printmemlist_stats not implemented on OpenBSD.");
+#else
 	MemHead *membl;
 	MemPrintBlock *pb, *printblock;
 	unsigned int totpb, a, b;
@@ -758,6 +761,7 @@ void MEM_guarded_printmemlist_stats(void)
 #ifdef HAVE_MALLOC_STATS
 	printf("System Statistics:\n");
 	malloc_stats();
+#endif
 #endif
 }
 
