summaryrefslogtreecommitdiff
path: root/ext/SDBM_File
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-13 09:16:17 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:52:39 +0100
commitdd512de320cc50ddbfc3ce3ee4996367b911d983 (patch)
tree94b792a5d8f28cbe3b2dc9a096c857845badcbaa /ext/SDBM_File
parent9d82a2b71ca36a0f03ce4676aab0bada365292a9 (diff)
downloadperl-dd512de320cc50ddbfc3ce3ee4996367b911d983.tar.gz
Rely on C89 <stdlib.h>
The Configure changes here were generated using a version of metaconfig that copies U/modified/i_stdlib.U from dist/U/vaproto.U, and changes it to unconditionally define the i_stdlib Configure variable. That variable is used by a large number of other Configure units, so it's not actually practical to try and remove the relevant unit entirely.
Diffstat (limited to 'ext/SDBM_File')
-rw-r--r--ext/SDBM_File/sdbm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/SDBM_File/sdbm.h b/ext/SDBM_File/sdbm.h
index d5511daeef..cfb455261f 100644
--- a/ext/SDBM_File/sdbm.h
+++ b/ext/SDBM_File/sdbm.h
@@ -153,10 +153,8 @@ extern long sdbm_hash(const char *, int);
# endif
#endif
-/* Use all the "standard" definitions? */
-#if defined(STANDARD_C) && defined(I_STDLIB)
-# include <stdlib.h>
-#endif /* STANDARD_C */
+/* Use all the "standard" definitions */
+#include <stdlib.h>
#define MEM_SIZE Size_t