summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Doug Junkins <junkins@foghead.com>2019-08-10 20:56:30 -0700
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-08-11 08:20:38 +0200
commit624ab3bf9e7785eebcacc38e896f501f1db1fe8d (patch)
tree9c6f1a8d7e2fc42ad285dcf176b7e3f06a69b087
parente9194a5c408810739c567d0102ac5228bdd6e668 (diff)
downloadsubsurface-624ab3bf9e7785eebcacc38e896f501f1db1fe8d.tar.gz
Add missing header files to macos.c
Missing header files were causing errors opening cloud storage on launch on Mac OSX. Signed-off-by: Doug Junkins <junkins@foghead.com>
-rw-r--r--CHANGELOG.md1
-rw-r--r--core/macos.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 36e536cfe..13bb8d62d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,4 @@
+- Desktop: fix missing header files in macos.c
- Desktop: fix display of trip time
---
* Always add new entries at the very top of this file above other existing entries and this note.
diff --git a/core/macos.c b/core/macos.c
index 2d9832348..dc07dc7b6 100644
--- a/core/macos.c
+++ b/core/macos.c
@@ -17,6 +17,8 @@
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
+#include <zip.h>
+#include <sys/stat.h>
void subsurface_user_info(struct user_info *info)
{