+++ src/lib/fuse-ext2/fuse-ext2/op_access.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <unistd.h>
+
 #include "fuse-ext2.h"
 
 int op_access (const char *path, int mask)
