diff options
author | Dagobert Michelsen <dam@opencsw.org> | 2011-11-18 14:02:51 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-11-18 14:03:38 +0100 |
commit | ff37e81646b996b43d4635ddbb12c4e2654d544b (patch) | |
tree | 48e0c86fe202b29ec2cb2e7e0cc55d8cbe5cb162 /lib/openat.c | |
parent | 0e001bcef28951d6b54271349ce8840f7c7c97e3 (diff) | |
download | gnulib-ff37e81646b996b43d4635ddbb12c4e2654d544b.tar.gz |
openat: avoid compilation failure due to lack of <errno.h> inclusion
* lib/openat.c: Include <errno.h>.
Diffstat (limited to 'lib/openat.c')
-rw-r--r-- | lib/openat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/openat.c b/lib/openat.c index 3225326056..354ff806cb 100644 --- a/lib/openat.c +++ b/lib/openat.c @@ -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 |