$OpenBSD: patch-intern_guardedalloc_intern_mallocn_guarded_impl_c,v 1.2 2014/07/03 14:41:48 pascal Exp $
--- intern/guardedalloc/intern/mallocn_guarded_impl.c.orig	Wed Jun 25 22:43:52 2014
+++ intern/guardedalloc/intern/mallocn_guarded_impl.c	Fri Jun 27 18:13:38 2014
@@ -683,6 +683,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;
@@ -755,6 +758,7 @@ void MEM_guarded_printmemlist_stats(void)
 #ifdef HAVE_MALLOC_STATS
 	printf("System Statistics:\n");
 	malloc_stats();
+#endif
 #endif
 }
 
