summaryrefslogtreecommitdiff
path: root/internal/compar.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/compar.h')
-rw-r--r--internal/compar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/compar.h b/internal/compar.h
index 36c5e9c782..6a689ed11d 100644
--- a/internal/compar.h
+++ b/internal/compar.h
@@ -9,6 +9,8 @@
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
*/
+#include "ruby/ruby.h" /* for RUBY_INTEGER_UNIFICATION */
+#include "internal/vm.h" /* for rb_method_basic_definition_p */
#define STRING_P(s) (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString)