$OpenBSD: patch-import_nuv_st_h,v 1.1.1.1 2004/06/18 18:56:46 sturm Exp $
--- import/nuv/st.h.orig	Fri Apr 23 23:27:29 2004
+++ import/nuv/st.h	Fri Apr 23 23:27:59 2004
@@ -15,10 +15,16 @@
 extern "C" {
 #endif
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
+#ifndef SYS_BSD
+# ifdef HAVE_MALLOC_H
+# include <malloc.h>
+# endif
 #endif
 #ifdef HAVE_BYTESWAP_H
 #include <byteswap.h>
