vlc | branch: master | Marvin Scholz <[email protected]> | 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to