summaryrefslogtreecommitdiff
path: root/net/libdlna/patches/patch-af
blob: b2da54d819272daf1cfcb0309a5456136e0fd1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-af,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $

need stdlib.h for malloc().

--- src/upnp_dms.c.orig	2007-11-26 20:47:43.000000000 +0000
+++ src/upnp_dms.c
@@ -20,6 +20,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "dlna_internals.h"