changeset 11973:d71ad7a7711c

fstatat: fix compilation on Solaris * lib/fstatat.c (includes): Add fcntl.h. Reported by Pádraig Brady. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Mon, 07 Sep 2009 20:16:00 -0600
parents 24ed6ac9fe07
children 4752a2febbe8
files ChangeLog lib/fstatat.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/lib/fstatat.c
+++ b/lib/fstatat.c
@@ -22,6 +22,7 @@
 #include <sys/stat.h>
 
 #include <errno.h>
+#include <fcntl.h>
 #include <string.h>
 
 #undef fstatat