summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-01-02 21:53:33 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-01-03 07:25:26 -0800
commit53ecd2025d00e844fbfb84b5765d975e1e8942be (patch)
treec851ee4c74b5be8d4b79547e87dc3ed94395c774
parent7b5874ead7c9115f8e20025ad29733d9e4293d70 (diff)
downloadsubsurface-53ecd2025d00e844fbfb84b5765d975e1e8942be.tar.gz
Adding the right header file for R_OK on Windows
Dang, I should have compile tested this on Windows before the last commit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--gtk-gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index ee99f01eb..a20954dd6 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -7,6 +7,7 @@
#include <string.h>
#include <stdlib.h>
#include <time.h>
+#include <unistd.h>
#include "dive.h"
#include "divelist.h"