summaryrefslogtreecommitdiff
path: root/audio/xmms-wma/patches/patch-aa
blob: df3fd9f240a20730c18031defd99108dfb7d707a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.1.1.1 2005/03/01 01:17:00 xtraeme Exp $

--- xmms-wma.c.orig	2005-03-01 01:54:39.000000000 +0100
+++ xmms-wma.c	2005-03-01 01:55:08.000000000 +0100
@@ -19,9 +19,13 @@
 #ifndef __XMMS_WMA_C__
 #define __XMMS_WMA_C__
 
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
+
 #include <math.h>
 #include <stdbool.h>
+#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 #include <pthread.h>