Mercurial > mplayer.hg
diff libmpdvdkit2/css.c @ 16714:2ab52c9b72b9
Replace unconditional #defines by build system trickery.
This reduces our local diff considerably.
author | diego |
---|---|
date | Sun, 09 Oct 2005 10:18:24 +0000 |
parents | 0af14c5fee82 |
children | 0783dd397f74 |
line wrap: on
line diff
--- a/libmpdvdkit2/css.c Sun Oct 09 09:53:27 2005 +0000 +++ b/libmpdvdkit2/css.c Sun Oct 09 10:18:24 2005 +0000 @@ -44,9 +44,17 @@ #include <string.h> #include <sys/types.h> #include <sys/stat.h> +#ifdef HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif +#ifdef HAVE_UNISTD_H # include <unistd.h> +#endif #include <fcntl.h> + +#ifdef HAVE_LIMITS_H # include <limits.h> +#endif #include "dvdcss.h"