diff --git a/ext/libxml/ruby_xml_attributes.h b/ext/libxml/ruby_xml_attributes.h index f657453b..2f5dfed3 100644 --- a/ext/libxml/ruby_xml_attributes.h +++ b/ext/libxml/ruby_xml_attributes.h @@ -1,15 +1,17 @@ -/* Please see the LICENSE file for copyright and distribution information */ - -#ifndef __RXML_ATTRIBUTES__ -#define __RXML_ATTRIBUTES__ - -extern VALUE cXMLAttributesibutes; - -void rxml_init_attributes(void); -VALUE rxml_attributes_new(xmlNodePtr xnode); - -VALUE rxml_attributes_attribute_get(VALUE self, VALUE name); -VALUE rxml_attributes_attribute_set(VALUE self, VALUE name, VALUE value); - - -#endif +/* Please see the LICENSE file for copyright and distribution information */ + +#ifndef __RXML_ATTRIBUTES__ +#define __RXML_ATTRIBUTES__ + +#include + +extern VALUE cXMLAttributesibutes; + +void rxml_init_attributes(void); +VALUE rxml_attributes_new(xmlNodePtr xnode); + +VALUE rxml_attributes_attribute_get(VALUE self, VALUE name); +VALUE rxml_attributes_attribute_set(VALUE self, VALUE name, VALUE value); + + +#endif diff --git a/ext/libxml/ruby_xml_encoding.h b/ext/libxml/ruby_xml_encoding.h index 62c53209..7490c9a1 100644 --- a/ext/libxml/ruby_xml_encoding.h +++ b/ext/libxml/ruby_xml_encoding.h @@ -4,6 +4,8 @@ #define __RXML_ENCODING__ #include +#include +#include extern VALUE mXMLEncoding;