$OpenBSD: patch-filter_resample_st_h,v 1.1.1.1 2004/06/18 18:56:46 sturm Exp $
--- filter/resample/st.h.orig	Fri Apr 23 23:27:33 2004
+++ filter/resample/st.h	Fri Apr 23 23:28:03 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>
