summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-13 12:38:59 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:52:55 +0100
commit350b922a8600b68529a55d5fcc05d4ebd9a45990 (patch)
tree97179757d7666e1d423c48fb63a18a021426ab9f /ext
parent9245da2a079b4997c421147be2ea97e85dad2589 (diff)
downloadperl-350b922a8600b68529a55d5fcc05d4ebd9a45990.tar.gz
Rely on C89 <limits.h>
This requires newer metaconfig units that also rely on C89 <limits.h>.
Diffstat (limited to 'ext')
-rw-r--r--ext/File-Glob/bsd_glob.c2
-rw-r--r--ext/POSIX/POSIX.xs2
2 files changed, 0 insertions, 4 deletions
diff --git a/ext/File-Glob/bsd_glob.c b/ext/File-Glob/bsd_glob.c
index 86faa8e1aa..4ca3e22a24 100644
--- a/ext/File-Glob/bsd_glob.c
+++ b/ext/File-Glob/bsd_glob.c
@@ -87,9 +87,7 @@ static char sscsid[]= "$OpenBSD: glob.c,v 1.8.10.1 2001/04/10 jason Exp $";
# endif
#endif
-#ifdef I_LIMITS
#include <limits.h>
-#endif
#ifndef ARG_MAX
# ifdef _SC_ARG_MAX
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 421c57fbc8..2de9165328 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -42,9 +42,7 @@ static int not_here(const char *s);
#include <fenv.h>
#endif
#endif
-#ifdef I_LIMITS
#include <limits.h>
-#endif
#include <locale.h>
#include <math.h>
#ifdef I_PWD