summaryrefslogtreecommitdiff
path: root/internal/enc.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/enc.h')
-rw-r--r--internal/enc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/enc.h b/internal/enc.h
index afd8642..8c28c69 100644
--- a/internal/enc.h
+++ b/internal/enc.h
@@ -9,16 +9,12 @@
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
*/
-
+#include "ruby/encoding.h" /* for rb_encoding */
/* us_ascii.c */
-#ifdef RUBY_ENCODING_H
extern rb_encoding OnigEncodingUS_ASCII;
-#endif
/* utf_8.c */
-#ifdef RUBY_ENCODING_H
extern rb_encoding OnigEncodingUTF_8;
-#endif
#endif /* INTERNAL_ENC_H */