We don't check for limits.h, so don't use HAVE_LIMITS_H
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 3 Feb 2008 18:30:25 +0000 (18:30 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 3 Feb 2008 18:30:25 +0000 (18:30 +0000)
modules/demux/mp4/drms.c
modules/gui/qt4/components/info_panels.hpp
modules/gui/qt4/components/open_panels.hpp
modules/misc/dummy/decoder.c
modules/video_filter/mosaic.c
src/config/cmdline.c
src/config/file.c
src/input/subtitles.c

index 0a32c01..cfbe05c 100644 (file)
@@ -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>
index 6c78c83..4fe6572 100644 (file)
@@ -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 );             \
index 393ca74..dab1288 100644 (file)
@@ -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 ); }
index 5ef33e0..881ab70 100644 (file)
@@ -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"
index 8defef0..15f0d07 100644 (file)
 #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"
index 16a3d40..7a0cf57 100644 (file)
 #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() */
index 3603fb1..5a1286c 100644 (file)
 #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"
index 9d0a0bc..eda41a3 100644 (file)
@@ -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>