summaryrefslogtreecommitdiff
path: root/lib/ext2fs/unix_io.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1998-02-20 05:33:14 +0000
committerTheodore Ts'o <tytso@mit.edu>1998-02-20 05:33:14 +0000
commitc4e749abd8451f02418fe552b2af14f226f7bd1e (patch)
tree1588040db19380a9865274888cbeb9d150d65b62 /lib/ext2fs/unix_io.c
parent63c4969c54cdb91f5644fde33d301b5b417e6995 (diff)
downloade2fsprogs-c4e749abd8451f02418fe552b2af14f226f7bd1e.tar.gz
ChangeLog, getsize.c, ismounted.c, unix_io.c:
getsize.c, ismounted.c, unix_io.c: #include errno.h since it's needed.
Diffstat (limited to 'lib/ext2fs/unix_io.c')
-rw-r--r--lib/ext2fs/unix_io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c
index 4639d4fd..c46602e8 100644
--- a/lib/ext2fs/unix_io.c
+++ b/lib/ext2fs/unix_io.c
@@ -16,6 +16,9 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#if HAVE_ERRNO_H
+#include <errno.h>
+#endif
#include <fcntl.h>
#include <time.h>
#if HAVE_SYS_STAT_H