explicitly include <unistd.h> for R_OK and friends, see access(2)

This commit is contained in:
naddy 2008-12-13 18:18:29 +00:00
parent c618af6fea
commit 41e525c352

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_dlg-photo-importer_c,v 1.1 2008/12/13 18:18:29 naddy Exp $
--- src/dlg-photo-importer.c.orig Thu Dec 11 22:06:36 2008
+++ src/dlg-photo-importer.c Thu Dec 11 22:06:53 2008
@@ -28,6 +28,7 @@
#include <string.h>
#include <strings.h>
#include <time.h>
+#include <unistd.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>