Description: add missing includes
 to prevent FTBFS due to implicit declarations
Author: IOhannes m zmölnig
Origin: Debian
Bug: https://github.com/bplaum/gmerlin/issues/10
Last-Update: 2024-06-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: gmerlin-2.0.0~svn6298~dfsg0/lib/upnp/devicedesc.c
===================================================================
--- gmerlin-2.0.0~svn6298~dfsg0.orig/lib/upnp/devicedesc.c
+++ gmerlin-2.0.0~svn6298~dfsg0/lib/upnp/devicedesc.c
@@ -28,6 +28,8 @@
 
 #include <gmerlin/utils.h>
 
+#include <stdlib.h>
+
 // #include <upnp/devicepriv.h>
 
 
Index: gmerlin-2.0.0~svn6298~dfsg0/lib/xspf.c
===================================================================
--- gmerlin-2.0.0~svn6298~dfsg0.orig/lib/xspf.c
+++ gmerlin-2.0.0~svn6298~dfsg0/lib/xspf.c
@@ -28,6 +28,8 @@
 #include <gmerlin/xspf.h>
 #include <gmerlin/utils.h>
 
+#include <stdlib.h>
+
 #define GMERLIN_PREFIX     "http://gmerlin.sourceforge.net/metadata/"
 #define GMERLIN_PREFIX_LEN 40
 
