fstatat: fix compilation on Solaris
authorEric Blake <ebb9@byu.net>
Tue, 8 Sep 2009 02:16:00 +0000 (20:16 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 8 Sep 2009 02:17:12 +0000 (20:17 -0600)
* lib/fstatat.c (includes): Add fcntl.h.
Reported by Pádraig Brady.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/fstatat.c

index 0b9e3a0..7df9226 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-08  Eric Blake  <ebb9@byu.net>
+
+       fstatat: fix compilation on Solaris
+       * lib/fstatat.c (includes): Add fcntl.h.
+       Reported by Pádraig Brady.
+
 2009-09-07  Eric Blake  <ebb9@byu.net>
 
        rename: modernize replacement
index 2bf547e..9b0c1af 100644 (file)
@@ -22,6 +22,7 @@
 #include <sys/stat.h>
 
 #include <errno.h>
+#include <fcntl.h>
 #include <string.h>
 
 #undef fstatat