Skip to content

Commit

Permalink
including stdarg so cross compiling works
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Apr 28, 2010
1 parent c23eb88 commit f330a9e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ext/nokogiri/nokogiri.h
@@ -1,6 +1,11 @@
#ifndef NOKOGIRI_NATIVE
#define NOKOGIRI_NATIVE

#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdarg.h>

#ifdef USE_INCLUDED_VASPRINTF
int vasprintf (char **strp, const char *fmt, va_list ap);
#else
Expand All @@ -11,9 +16,6 @@ int vasprintf (char **strp, const char *fmt, va_list ap);

#endif

#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <libxml/parser.h>
#include <libxml/entities.h>
#include <libxml/parserInternals.h>
Expand Down

0 comments on commit f330a9e

Please sign in to comment.