Commit 249229af authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

We don't check for limits.h, so don't use HAVE_LIMITS_H

parent af48cdef
......@@ -63,9 +63,7 @@
#endif
/* In Solaris (and perhaps others) PATH_MAX is in limits.h. */
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <limits.h>
#ifdef __APPLE__
# include <mach/mach.h>
......
......@@ -36,9 +36,7 @@
#include <QWidget>
#include <QLabel>
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <limits.h>
#define setSpinBounds( spinbox ) { \
spinbox->setRange( 0, INT_MAX ); \
......
......@@ -43,9 +43,7 @@
#include "components/preferences_widgets.hpp"
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <limits.h>
#define setSpinBoxFreq( spinbox ){ spinbox->setRange ( 0, INT_MAX ); \
spinbox->setAccelerated( true ); }
......
......@@ -46,9 +46,7 @@
# include <fcntl.h>
#endif
#ifdef HAVE_LIMITS_H
# include <limits.h> /* PATH_MAX */
#endif
#include <limits.h> /* PATH_MAX */
#include "dummy.h"
......
......@@ -33,10 +33,7 @@
#include <vlc_vout.h>
#include <math.h>
#ifdef HAVE_LIMITS_H
# include <limits.h> /* INT_MAX */
#endif
#include <limits.h> /* INT_MAX */
#include "vlc_filter.h"
#include "vlc_image.h"
......
......@@ -31,10 +31,7 @@
#include "vlc_charset.h"
#include <errno.h> /* errno */
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <limits.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h> /* getuid() */
......
......@@ -33,10 +33,7 @@
#include <errno.h> /* errno */
#include <stdbool.h>
#include <assert.h>
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <limits.h>
#include "configuration.h"
#include "modules/modules.h"
......
......@@ -39,9 +39,7 @@
# include <dirent.h>
#endif
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <limits.h>
#ifdef HAVE_UNISTD_H
# include <unistd.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