summaryrefslogtreecommitdiff
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
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.
-rw-r--r--lib/ext2fs/ChangeLog5
-rw-r--r--lib/ext2fs/getsize.c3
-rw-r--r--lib/ext2fs/ismounted.c3
-rw-r--r--lib/ext2fs/unix_io.c3
4 files changed, 14 insertions, 0 deletions
diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog
index 0478c831..454a00fb 100644
--- a/lib/ext2fs/ChangeLog
+++ b/lib/ext2fs/ChangeLog
@@ -1,3 +1,8 @@
+1998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu>
+
+ * getsize.c, ismounted.c, unix_io.c: #include errno.h since it's
+ needed.
+
Mon Feb 16 16:16:00 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* ext2_io.h, ext2fs.h: Protect against being included multiple times.
diff --git a/lib/ext2fs/getsize.c b/lib/ext2fs/getsize.c
index 296035d1..a7c67207 100644
--- a/lib/ext2fs/getsize.c
+++ b/lib/ext2fs/getsize.c
@@ -13,6 +13,9 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#if HAVE_ERRNO_H
+#include <errno.h>
+#endif
#include <fcntl.h>
#ifdef HAVE_LINUX_FS_H
#include <linux/fs.h>
diff --git a/lib/ext2fs/ismounted.c b/lib/ext2fs/ismounted.c
index f1a69963..a65778e7 100644
--- a/lib/ext2fs/ismounted.c
+++ b/lib/ext2fs/ismounted.c
@@ -13,6 +13,9 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#if HAVE_ERRNO_H
+#include <errno.h>
+#endif
#include <fcntl.h>
#ifdef HAVE_LINUX_FS_H
#include <linux/fs.h>
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