summaryrefslogtreecommitdiff
path: root/prism/defines.h
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-03-13 14:22:31 -0400
committergit <[email protected]>2024-03-13 18:35:18 +0000
commit2cfcebb2a8f62bcc7b595b551db85abd93efaaa2 (patch)
treeb50484f4465cca455ebe5bdb721e70a6ab05fa27 /prism/defines.h
parentf0b5d0ad5460a9bba717ba08fe027a738b7201b2 (diff)
[ruby/prism] Warn for maximum number variables
https://github.com/ruby/prism/commit/2cdbf81c95
Diffstat (limited to 'prism/defines.h')
-rw-r--r--prism/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism/defines.h b/prism/defines.h
index 5995d54cb8..00411a0eb6 100644
--- a/prism/defines.h
+++ b/prism/defines.h
@@ -10,6 +10,7 @@
#define PRISM_DEFINES_H
#include <ctype.h>
+#include <limits.h>
#include <math.h>
#include <stdarg.h>
#include <stddef.h>
@@ -22,7 +23,6 @@
* some platforms they aren't included unless this is already defined.
*/
#define __STDC_FORMAT_MACROS
-
#include <inttypes.h>
/**