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

git at videolan.org git at videolan.org
Sat Apr 17 20:27:59 CEST 2010


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

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

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

 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 9afb905..35bf773 100644
--- a/src/text/filesystem.c
+++ b/src/text/filesystem.c
@@ -36,6 +36,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