summaryrefslogtreecommitdiff
path: root/internal/encoding.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/encoding.h')
-rw-r--r--internal/encoding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/encoding.h b/internal/encoding.h
index 79fbada..1489065 100644
--- a/internal/encoding.h
+++ b/internal/encoding.h
@@ -9,13 +9,13 @@
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
*/
+#include "ruby/ruby.h" /* for ID */
+#include "ruby/encoding.h" /* for rb_encoding */
/* encoding.c */
ID rb_id_encoding(void);
-#ifdef RUBY_ENCODING_H
rb_encoding *rb_enc_get_from_index(int index);
rb_encoding *rb_enc_check_str(VALUE str1, VALUE str2);
-#endif
int rb_encdb_replicate(const char *alias, const char *orig);
int rb_encdb_alias(const char *alias, const char *orig);
int rb_encdb_dummy(const char *name);