Commit a918cb9b authored by Diego Biurrun's avatar Diego Biurrun

Unconditionally use limits.h.

The header is available in all toolchains we care about.
parent c500fe52
......@@ -52,7 +52,7 @@ AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_CHECK_HEADERS([unistd.h sys/param.h sys/uio.h limits.h pwd.h]dnl
AC_CHECK_HEADERS([unistd.h sys/param.h sys/uio.h pwd.h]dnl
[errno.h sys/types.h sys/stat.h fcntl.h io.h])
AC_CHECK_DECL([O_BINARY], [],
......
......@@ -35,6 +35,7 @@
*****************************************************************************/
#include "config.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......@@ -47,10 +48,6 @@
#endif
#include <fcntl.h>
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include "dvdcss/dvdcss.h"
#include "common.h"
......
......@@ -27,6 +27,7 @@
*****************************************************************************/
#include "config.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......@@ -44,10 +45,6 @@
# include <unistd.h>
#endif
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#ifdef DARWIN_DVD_IOCTL
# include <paths.h>
# include <CoreFoundation/CoreFoundation.h>
......
......@@ -97,6 +97,7 @@
*/
#include "config.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......@@ -115,10 +116,6 @@
# include <unistd.h>
#endif
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#if defined(_WIN32_IE) && _WIN32_IE >= 0x500
# include <shlobj.h>
#endif
......
......@@ -24,11 +24,7 @@
#ifndef DVDCSS_LIBDVDCSS_H
#define DVDCSS_LIBDVDCSS_H
#include "config.h"
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <limits.h>
#include "dvdcss/dvdcss.h"
#include "css.h"
......
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