summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-07-16 12:57:29 +0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-16 09:14:27 -0700
commitb87a602265c3c514dc47fde97f1669e368b4490d (patch)
treeeff429533c90f60cb81061e0bae9f29035c7cd44 /dive.h
parent32a76671eddc48e846a17acee09e82b97982dd4e (diff)
downloadsubsurface-b87a602265c3c514dc47fde97f1669e368b4490d.tar.gz
Suppress XML preamble in CSV export
To obey <xsl:output omit-xml-declaration="yes"/> element one should rely on libxslt to do its job instead of writing document himself. Discussion on this subject can be found at http://comments.gmane.org/gmane.comp.gnome.lib.xslt/3839 Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index e2442818c..da97e012a 100644
--- a/dive.h
+++ b/dive.h
@@ -36,6 +36,7 @@ static inline char *copy_string(const char *s)
#include <libxml/tree.h>
#include <libxslt/transform.h>
+#include <libxslt/xsltutils.h>
#include "sha1.h"
#include "units.h"