[vlc-commits] services_discovery: upnp: Fix libupnp header includes

Marvin Scholz git at videolan.org
Tue Jul 31 14:43:24 CEST 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Jul 28 17:54:25 2018 +0200| [c79f552d848f7e7a840e2c6a77446dd9dc9f99a1] | committer: Marvin Scholz

services_discovery: upnp: Fix libupnp header includes

The libupnp .pc file uses -I${includedir}/upnp which means that the
way the headers were included would not result in them actually being
found in all cases due to the extraneous "upnp".

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c79f552d848f7e7a840e2c6a77446dd9dc9f99a1
---

 modules/services_discovery/upnp-wrapper.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/services_discovery/upnp-wrapper.hpp b/modules/services_discovery/upnp-wrapper.hpp
index ebae8fc96f..c62749214e 100644
--- a/modules/services_discovery/upnp-wrapper.hpp
+++ b/modules/services_discovery/upnp-wrapper.hpp
@@ -31,8 +31,8 @@
 #include <algorithm>
 #include <assert.h>
 
-#include <upnp/upnp.h>
-#include <upnp/upnptools.h>
+#include <upnp.h>
+#include <upnptools.h>
 
 #if UPNP_VERSION < 10800
 typedef void* UpnpEventPtr;



More information about the vlc-commits mailing list