summaryrefslogtreecommitdiffstats
path: root/package/mpd/0001-upnp-Discovery-add-missing-stdlib.h-include.patch
blob: ff581c3d51352d0c85dd1ef4127d1e66d7506983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 1901bd9d6be651fbaa5c7659d92d3361e6d6a823 Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Tue, 28 Oct 2014 07:25:48 -0300
Subject: [PATCH] upnp/Discovery: add missing stdlib.h include

Used for free().

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
Status: Sent upstream.

 src/lib/upnp/Discovery.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/upnp/Discovery.cxx b/src/lib/upnp/Discovery.cxx
index 9ea78c6..2c91e37 100644
--- a/src/lib/upnp/Discovery.cxx
+++ b/src/lib/upnp/Discovery.cxx
@@ -26,6 +26,8 @@
 
 #include <upnp/upnptools.h>
 
+#include <stdlib.h>
+
 #include <string.h>
 
 // The service type string we are looking for.
-- 
2.0.4

OpenPOWER on IntegriCloud