Diff for /rpm2html/rdf_api.c between versions 1.24 and 1.25

version 1.24, 2000/08/21 21:12:44 version 1.25, 2000/09/06 09:44:24
Line 11 Line 11
 #include <string.h>  #include <string.h>
 #include <malloc.h>  #include <malloc.h>
 #include <errno.h>  #include <errno.h>
   #include "rpm2html.h"
 #include "rpmdata.h"  #include "rpmdata.h"
 #include "rdf_api.h"  #include "rdf_api.h"
 /*  /*
  * this module has been converted to libxml2, you need libxml2-devel or   * this module has been converted to libxml2, you need libxml2-devel or
  * older to compile it.   * older to compile it.
  */   */
 #include <xmlmemory.h>  #include <libxml/xmlmemory.h>
 #if defined(LIBXML_VERSION) && LIBXML_VERSION >= 20000  
 #include <libxml/parser.h>  #include <libxml/parser.h>
 #include <libxml/tree.h>  #include <libxml/tree.h>
 #include <libxml/parserInternals.h>  #include <libxml/parserInternals.h>
 #ifndef xmlChildrenNode  
 #define xmlChildrenNode children  
 #define xmlRootNode children  
 #endif  
 #else  
 #include <gnome-xml/parser.h>  
 #include <gnome-xml/tree.h>  
 #include <gnome-xml/parserInternals.h>  
 #ifndef xmlChildrenNode  
 #define xmlChildrenNode childs  
 #define xmlRootNode root  
 #endif  
 #endif  
   
 /*  /*
  * Reading an RDF schema stored in a file, this just build the   * Reading an RDF schema stored in a file, this just build the

Removed from v.1.24  
changed lines
  Added in v.1.25


Webmaster