From a0fd4f11c2827ca2248d45b509c01735814c7233 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 11 Jul 2001 10:15:27 +0000 Subject: Add PATH/NAME_MAX decl checks. CVS patchset: 269 CVS date: 2001/07/11 10:15:27 --- src/input/input_file.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/input/input_file.c b/src/input/input_file.c index 182c34d5f..be260f66e 100644 --- a/src/input/input_file.c +++ b/src/input/input_file.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_file.c,v 1.16 2001/07/10 21:07:55 f1rmb Exp $ + * $Id: input_file.c,v 1.17 2001/07/11 10:15:27 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -45,6 +45,13 @@ static uint32_t xine_debug; #define MAXFILES 65535 +#ifndef NAME_MAX +#define NAME_MAX 256 +#endif +#ifndef PATH_MAX +#define PATH_MAX 768 +#endif + #ifndef S_ISLNK #define S_ISLNK(mode) 0 #endif -- cgit v1.2.3