summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/object.c b/object.c
index 5e19eb30f1..861f17c20e 100644
--- a/object.c
+++ b/object.c
@@ -20,6 +20,7 @@
#include <math.h>
#include <float.h>
#include "constant.h"
+#include "internal.h"
VALUE rb_cBasicObject;
VALUE rb_mKernel;
@@ -1601,7 +1602,7 @@ rb_class_new_instance(int argc, VALUE *argv, VALUE klass)
*
*/
-static VALUE
+VALUE
rb_class_superclass(VALUE klass)
{
VALUE super = RCLASS_SUPER(klass);