| commit | 1d2ff46ae7533ffd038534b189f272d2a4122e4e | [log] [tgz] |
|---|---|---|
| author | Theodore Ts'o <tytso@mit.edu> | Sun Oct 19 23:00:21 1997 +0000 |
| committer | Theodore Ts'o <tytso@mit.edu> | Sun Oct 19 23:00:21 1997 +0000 |
| tree | 498dba9e1909fbbf16692d71fdf7a77a53fbb75d | |
| parent | 44339bdff87584b72a2ade7d3a1426e3335f2167 [diff] [blame] |
Many files: Add #ifdef's for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H
diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c index 0baae38..b17ed7f 100644 --- a/lib/ext2fs/unix_io.c +++ b/lib/ext2fs/unix_io.c
@@ -19,8 +19,12 @@ #include <stdlib.h> #include <fcntl.h> #include <time.h> +#if HAVE_SYS_STAT_H #include <sys/stat.h> +#endif +#if HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #if HAVE_ERRNO_H #include <errno.h> #endif