summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-10 09:58:34 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-08-10 09:16:01 -0700
commit309a8c5b14a717cdc35ecb03aae2a57e59c0f922 (patch)
tree304c90c65bfdfed46e0e84b263cdfcc623141909 /core/libdivecomputer.h
parent302b39bcd56c85bfacd0b4cbc48e9044a3908bca (diff)
downloadsubsurface-309a8c5b14a717cdc35ecb03aae2a57e59c0f922.tar.gz
Core: unconditionally include stdio.h in libdivecomputer.h
Header files should compile regardless of order of inclusion. Since libdivecomputer.h uses FILE unconditional include of stdio.h is the correct thing to do. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r--core/libdivecomputer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h
index 63c652c79..98456112a 100644
--- a/core/libdivecomputer.h
+++ b/core/libdivecomputer.h
@@ -3,9 +3,7 @@
#define LIBDIVECOMPUTER_H
#include <stdint.h>
-#if defined(Q_OS_IOS)
#include <stdio.h>
-#endif
/* libdivecomputer */