changeset 16095:02a734ccfb9a

openat: avoid compilation failure due to lack of <errno.h> inclusion * lib/openat.c: Include <errno.h>.
author Dagobert Michelsen <dam@opencsw.org>
date Fri, 18 Nov 2011 14:02:51 +0100
parents 8675282c0ef4
children 13817d3d0af6
files ChangeLog lib/openat.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-18  Dagobert Michelsen  <dam@opencsw.org>  (tiny change)
+
+	openat: avoid compilation failure due to lack of <errno.h> inclusion
+	* lib/openat.c: Include <errno.h>.
+
 2011-11-17  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* modules/getcwd (Depends-on): Add fdopendir.
--- a/lib/openat.c
+++ b/lib/openat.c
@@ -46,6 +46,7 @@
 #include <stddef.h>
 #include <string.h>
 #include <sys/stat.h>
+#include <errno.h>
 
 #if HAVE_OPENAT