[vlc-devel] commit: Compile fix: Include limits.h when using PATH_MAX (Jean-Paul Saman )

git version control git at videolan.org
Tue May 12 14:26:51 CEST 2009


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Tue May 12 13:22:11 2009 +0200| [cbcd26e36fbeb2d673f3bdc5245af7d46bb74a37] | committer: Jean-Paul Saman 

Compile fix: Include limits.h when using PATH_MAX

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

 src/text/strings.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/text/strings.c b/src/text/strings.c
index 860aae7..9c6d931 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -36,6 +36,7 @@
 
 /* Needed by str_format_time */
 #include <time.h>
+#include <limits.h>
 
 /* Needed by str_format_meta */
 #include <vlc_input.h>




More information about the vlc-devel mailing list