]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Adding the right header file for R_OK on Windows
authorDirk Hohndel <dirk@hohndel.org>
Tue, 3 Jan 2012 05:53:33 +0000 (21:53 -0800)
committerDirk Hohndel <dirk@hohndel.org>
Tue, 3 Jan 2012 15:25:26 +0000 (07:25 -0800)
Dang, I should have compile tested this on Windows before the last
commit.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
gtk-gui.c

index ee99f01eb48167e29aef0e339d13f59ee2fd32e9..a20954dd6e7fdaabd0bc7f150a5ab3609a347e61 100644 (file)
--- 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"