diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-07-11 10:15:27 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-07-11 10:15:27 +0000 |
commit | a0fd4f11c2827ca2248d45b509c01735814c7233 (patch) | |
tree | e1bca0c929ea5eb75f7191ccdd65800836ebfa56 | |
parent | 121fa69a151d74f086b1b8336bdddac034f49d32 (diff) | |
download | xine-lib-a0fd4f11c2827ca2248d45b509c01735814c7233.tar.gz xine-lib-a0fd4f11c2827ca2248d45b509c01735814c7233.tar.bz2 |
Add PATH/NAME_MAX decl checks.
CVS patchset: 269
CVS date: 2001/07/11 10:15:27
-rw-r--r-- | src/input/input_file.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 |