diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-26 01:29:17 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-26 01:29:17 +0000 |
commit | 7b0aca2e721b9022292a789acfc51fea71170f1f (patch) | |
tree | 3376e83144f19c7713e062d50dc4cca7ea2d5a43 /bindings | |
parent | 4b4e367fbf7b5daed47639f02e3aa08853daa7b7 (diff) | |
download | libdom-7b0aca2e721b9022292a789acfc51fea71170f1f.tar.gz libdom-7b0aca2e721b9022292a789acfc51fea71170f1f.tar.bz2 |
Work around bug in libxml headers.
svn path=/trunk/dom/; revision=6895
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/xml/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/xml/Makefile b/bindings/xml/Makefile index bdebe41..16d42f3 100644 --- a/bindings/xml/Makefile +++ b/bindings/xml/Makefile @@ -10,6 +10,10 @@ ifeq ($(WITH_LIBXML_BINDING),yes) else LDFLAGS := $(LDFLAGS) -lxml2 endif + + # LibXML 2.6.26 has a bug in its headers that expects _POSIX_C_SOURCE to be + # defined. Define it here, even though we don't need it. + CFLAGS := $(CFLAGS) -D_POSIX_C_SOURCE endif include build/makefiles/Makefile.subdir |