summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-05 01:17:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-05 01:17:29 +0000
commit215b9e760a5e1afe66c018e54f76b27cc155bc53 (patch)
tree41531e85db9ab95c6206cda829e6328710a39373 /ext
parent990ba47c24a47dbe428c993b4fb155b90cfd8ab0 (diff)
yaml/yaml_private.h: include ruby/extconf.h
* ext/psych/yaml/yaml_private.h: need ruby/extconf.h for HAVE_CONFIG_H. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/yaml/yaml_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/psych/yaml/yaml_private.h b/ext/psych/yaml/yaml_private.h
index abb7b9b..21fc5e4 100644
--- a/ext/psych/yaml/yaml_private.h
+++ b/ext/psych/yaml/yaml_private.h
@@ -1,3 +1,6 @@
+#ifdef RUBY_EXTCONF_H
+#include RUBY_EXTCONF_H
+#endif
#if HAVE_CONFIG_H
#include <config.h>