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

17 lines
318 B
Plaintext

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