aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-05-30 18:05:25 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-19 13:11:10 -0700
commit46c69fccb79911b4ef1bc12606f39b072cbf19d3 (patch)
treec275dee6f32b652586ccd0a0a6d7996cc77a6ba2
parente3304d8d7d800724cbfab352ebd783fb6722d21b (diff)
downloadsubsurface-46c69fccb79911b4ef1bc12606f39b072cbf19d3.tar.gz
Cleanup: fix includes in membuffer.h
Headers should not have to be included in a certain order. Therefore include stdarg.h and stdio.h in membuffer.h, since the latter uses FILE and va_list. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/membuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/membuffer.h b/core/membuffer.h
index 04f872010..a5f7d023d 100644
--- a/core/membuffer.h
+++ b/core/membuffer.h
@@ -45,6 +45,8 @@ extern "C" {
#endif
#include <ctype.h>
+#include <stdio.h>
+#include <stdarg.h>
#include "units.h"
struct membuffer {