--- timidity/mix.c.orig	Tue Feb  1 23:16:29 2000
+++ timidity/mix.c	Mon Apr 24 12:53:27 2000
@@ -23,7 +23,11 @@
 
 #include <math.h>
 #include <stdio.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
 #include <malloc.h>
+#endif
 
 #include "config.h"
 #include "common.h"
