[vlc-commits] commit: NAME_MAX requires <limits.h> ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Apr 17 20:26:33 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 17 21:06:00 2010 +0300| [b4d29ff5be9e4fe437ba32f4abc59a5bfa0b4ea5] | committer: Rémi Denis-Courmont 

NAME_MAX requires <limits.h>
(cherry picked from commit 1bad2ec163eaee9bcbf9402494bc3355bf3e3006)

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

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

diff --git a/src/text/filesystem.c b/src/text/filesystem.c
index ffb5908..31fddef 100644
--- a/src/text/filesystem.c
+++ b/src/text/filesystem.c
@@ -37,6 +37,7 @@
 #include <assert.h>
 
 #include <stdio.h>
+#include <limits.h> /* NAME_MAX */
 #include <errno.h>
 #include <sys/types.h>
 #ifdef HAVE_DIRENT_H



More information about the vlc-commits mailing list