$OpenBSD: patch-import_extract_ogm_c,v 1.1.1.1 2004/06/18 18:56:46 sturm Exp $
--- import/extract_ogm.c.orig	Fri Apr 23 23:27:30 2004
+++ import/extract_ogm.c	Fri Apr 23 23:28:00 2004
@@ -17,10 +17,10 @@
 # include <errno.h>
 #endif
 
-#if !defined(SYSTEM_DARWIN)
-#ifdef HAVE_MALLOC_H
+#ifndef SYS_BSD
+# ifdef HAVE_MALLOC_H
 # include <malloc.h>
-#endif
+# endif
 #endif
 
 #include <stdio.h>
