summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-05-07 16:53:26 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-05-07 16:53:26 +0000
commitd71a495dd060f9bf318c689406eff2a96511e952 (patch)
tree5025a13680a544d4634ad13e640fc824273c6796
parent0f6794591edf238825f8ab80c885e83d1efbf203 (diff)
downloade2fsprogs-d71a495dd060f9bf318c689406eff2a96511e952.tar.gz
ChangeLog, util.c:
util.c: Use specific check for HAVE_SYS_STAT_H.
-rw-r--r--misc/ChangeLog4
-rw-r--r--misc/util.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog
index 41062657..13f85bc1 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-07 Theodore Tso <tytso@valinux.com>
+
+ * util.c: Use specific check for HAVE_SYS_STAT_H.
+
2001-05-05 Theodore Tso <tytso@valinux.com>
* fsck.8.in: Add explicit language to describe how options get
diff --git a/misc/util.c b/misc/util.c
index c4a8c2b5..851c0a47 100644
--- a/misc/util.c
+++ b/misc/util.c
@@ -17,6 +17,8 @@
#include <linux/ext2_fs.h>
#ifdef HAVE_LINUX_MAJOR_H
#include <linux/major.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif