$OpenBSD: patch-libgrive_src_util_File_cc,v 1.1.1.1 2014/12/31 10:06:35 kirby Exp $
--- libgrive/src/util/File.cc.orig	Sun Jun 29 21:40:25 2014
+++ libgrive/src/util/File.cc	Sun Jun 29 21:40:37 2014
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 #ifdef WIN32
 	#include <io.h>
