Commit 525f8be1 authored by Rocky Bernstein's avatar Rocky Bernstein
Browse files

include limits.h for PATH_MAX. Solaris fix.

parent fa5f1098
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* decoder.c: dummy decoder plugin for vlc. * decoder.c: dummy decoder plugin for vlc.
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: decoder.c,v 1.9 2003/12/08 18:42:07 gbazin Exp $ * $Id: decoder.c,v 1.10 2004/01/25 22:16:26 rocky Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
# include <fcntl.h> # include <fcntl.h>
#endif #endif
#ifdef HAVE_LIMITS_H
# include <limits.h> /* PATH_MAX */
#endif
#include <stdio.h> /* sprintf() */ #include <stdio.h> /* sprintf() */
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment