summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.h
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-10 06:25:23 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-10 06:25:23 +0000
commit678af70ce8230ea8b88fd2ca2b26fe68b5c4a887 (patch)
treec2d6593921eedc3a2f9956e484e0518f5df22e23 /ext/bigdecimal/bigdecimal.h
parent6434e1e690e757ec8b753133c270e3bbbdaed45f (diff)
* ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c: add extern declaration of rb_cBigDecimal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.h')
-rw-r--r--ext/bigdecimal/bigdecimal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h
index af18a9a..fd0957f 100644
--- a/ext/bigdecimal/bigdecimal.h
+++ b/ext/bigdecimal/bigdecimal.h
@@ -16,10 +16,14 @@
#ifndef ____BIG_DECIMAL__H____
#define ____BIG_DECIMAL__H____
+#include "ruby/ruby.h"
+
#if defined(__cplusplus)
extern "C" {
#endif
+extern VALUE rb_cBigDecimal;
+
/*
* NaN & Infinity
*/