summaryrefslogtreecommitdiffstats
path: root/core/errorhelper.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-03 22:55:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitf2cdca7bccfcdfa04639600689b2b13b38b56898 (patch)
tree1482089014e746fc6ccbfd7bcd98926bb70cb759 /core/errorhelper.c
parent25234c0513cab19abafb6d73613df35da7bc5663 (diff)
downloadsubsurface-f2cdca7bccfcdfa04639600689b2b13b38b56898.tar.gz
Cleanup: move declaration of get_stylesheet() to qthelper.h
The function is defined in qthelper.c and thus not all users of dive.h have to suck in the xslt headers. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/errorhelper.c')
-rw-r--r--core/errorhelper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/errorhelper.c b/core/errorhelper.c
index 5390c4c20..cad595912 100644
--- a/core/errorhelper.c
+++ b/core/errorhelper.c
@@ -3,6 +3,7 @@
// Clang has a bug on zero-initialization of C structs.
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
+#include <stdarg.h>
#include "dive.h"
#include "membuffer.h"