diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-30 18:05:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-06-19 13:11:10 -0700 |
commit | 46c69fccb79911b4ef1bc12606f39b072cbf19d3 (patch) | |
tree | c275dee6f32b652586ccd0a0a6d7996cc77a6ba2 /core/membuffer.h | |
parent | e3304d8d7d800724cbfab352ebd783fb6722d21b (diff) | |
download | subsurface-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>
Diffstat (limited to 'core/membuffer.h')
-rw-r--r-- | core/membuffer.h | 2 |
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 { |