[vlc-commits] upnp: Fix compilation
Mirsal Ennaime
git at videolan.org
Tue Dec 20 13:09:51 CET 2011
vlc | branch: master | Mirsal Ennaime <mirsal at videolan.org> | Tue Dec 20 13:07:45 2011 +0100| [75a40b63d0cb0ba655a80c4030ce54cb812c471f] | committer: Mirsal Ennaime
upnp: Fix compilation
Oops, Do not forget to include limits.h when using INT_MAX
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75a40b63d0cb0ba655a80c4030ce54cb812c471f
---
modules/services_discovery/upnp.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 84cf3c4..dc239f3 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -38,6 +38,7 @@
#include <vlc_services_discovery.h>
#include <assert.h>
+#include <limits.h>
/*
* Constants
More information about the vlc-commits
mailing list