faccessat: port to Solaris 10
[gnulib.git] / lib / faccessat.c
index 81fad54..d11a3ef 100644 (file)
@@ -19,6 +19,7 @@
 #include <config.h>
 
 #include <unistd.h>
+#include <fcntl.h>
 
 #ifndef HAVE_ACCESS
 /* Mingw lacks access, but it also lacks real vs. effective ids, so