openbsd-ports/audio/timidity/patches/patch-resample_c

17 lines
333 B
Plaintext

$OpenBSD: patch-resample_c,v 1.1 2001/07/05 10:48:24 espie Exp $
--- resample.c.orig Mon May 20 15:09:47 1996
+++ resample.c Fri Apr 27 08:01:39 2001
@@ -22,7 +22,12 @@
#include <math.h>
#include <stdio.h>
+
+#ifdef __OpenBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include "config.h"
#include "common.h"