]> Savannah Git Hosting - gnulib.git/commitdiff
openat: avoid compilation failure due to lack of <errno.h> inclusion
authorDagobert Michelsen <dam@opencsw.org>
Fri, 18 Nov 2011 13:02:51 +0000 (14:02 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 18 Nov 2011 13:03:38 +0000 (14:03 +0100)
* lib/openat.c: Include <errno.h>.

ChangeLog
lib/openat.c

index a3733175bfb717bc2a9f307a0c03b033bc3cfe9d..e8ac873703ac311ed3fd840de0463ff4ae419d85 100644 (file)
--- 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.
index 3225326056a950b86bd11eed257f2eb8a5246b99..354ff806cb8822121e3d9154cea7e2f599ad8bd9 100644 (file)
@@ -46,6 +46,7 @@ orig_openat (int fd, char const *filename, int flags, mode_t mode)
 #include <stddef.h>
 #include <string.h>
 #include <sys/stat.h>
+#include <errno.h>
 
 #if HAVE_OPENAT