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