diff options
author | Theodore Ts'o <tytso@mit.edu> | 1997-10-19 23:00:21 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1997-10-19 23:00:21 +0000 |
commit | 1d2ff46ae7533ffd038534b189f272d2a4122e4e (patch) | |
tree | 498dba9e1909fbbf16692d71fdf7a77a53fbb75d /lib/ext2fs | |
parent | 44339bdff87584b72a2ade7d3a1426e3335f2167 (diff) | |
download | e2fsprogs-1d2ff46ae7533ffd038534b189f272d2a4122e4e.tar.gz |
Many files:
Add #ifdef's for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H
Diffstat (limited to 'lib/ext2fs')
-rw-r--r-- | lib/ext2fs/ChangeLog | 4 | ||||
-rw-r--r-- | lib/ext2fs/alloc.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/alloc_tables.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/badblocks.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/bb_compat.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/bb_inode.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/bitmaps.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/bitops.c | 2 | ||||
-rw-r--r-- | lib/ext2fs/bmove.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/check_desc.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/cmp_bitmaps.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/initialize.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/inline.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/inode.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/llseek.c | 2 | ||||
-rw-r--r-- | lib/ext2fs/mkdir.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/openfs.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/read_bb.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/read_bb_file.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/test_io.c | 4 | ||||
-rw-r--r-- | lib/ext2fs/unix_io.c | 4 |
21 files changed, 80 insertions, 0 deletions
diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 59c70929..d7a5acec 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,7 @@ +Sun Oct 19 18:56:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * Add #ifdef's for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H + Fri Oct 3 13:35:59 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> * llseek.c (ext2fs_llseek): Fix type error for ext2fs_llseek() diff --git a/lib/ext2fs/alloc.c b/lib/ext2fs/alloc.c index 308e3534..eaf27585 100644 --- a/lib/ext2fs/alloc.c +++ b/lib/ext2fs/alloc.c @@ -16,8 +16,12 @@ #endif #include <stdlib.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 diff --git a/lib/ext2fs/alloc_tables.c b/lib/ext2fs/alloc_tables.c index a557db1e..b8884147 100644 --- a/lib/ext2fs/alloc_tables.c +++ b/lib/ext2fs/alloc_tables.c @@ -18,8 +18,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 diff --git a/lib/ext2fs/badblocks.c b/lib/ext2fs/badblocks.c index 75f6df0a..38e9f6e7 100644 --- a/lib/ext2fs/badblocks.c +++ b/lib/ext2fs/badblocks.c @@ -17,8 +17,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 diff --git a/lib/ext2fs/bb_compat.c b/lib/ext2fs/bb_compat.c index 2a2c1ecf..d47a9161 100644 --- a/lib/ext2fs/bb_compat.c +++ b/lib/ext2fs/bb_compat.c @@ -17,8 +17,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 diff --git a/lib/ext2fs/bb_inode.c b/lib/ext2fs/bb_inode.c index 7a9609ca..68597003 100644 --- a/lib/ext2fs/bb_inode.c +++ b/lib/ext2fs/bb_inode.c @@ -21,8 +21,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 diff --git a/lib/ext2fs/bitmaps.c b/lib/ext2fs/bitmaps.c index 1fa4a900..9fe2d163 100644 --- a/lib/ext2fs/bitmaps.c +++ b/lib/ext2fs/bitmaps.c @@ -18,8 +18,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 diff --git a/lib/ext2fs/bitops.c b/lib/ext2fs/bitops.c index 8ae02427..70f4f4c6 100644 --- a/lib/ext2fs/bitops.c +++ b/lib/ext2fs/bitops.c @@ -11,7 +11,9 @@ */ #include <stdio.h> +#if HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <linux/ext2_fs.h> diff --git a/lib/ext2fs/bmove.c b/lib/ext2fs/bmove.c index ae9ac25f..b1007935 100644 --- a/lib/ext2fs/bmove.c +++ b/lib/ext2fs/bmove.c @@ -12,8 +12,12 @@ #include <unistd.h> #endif #include <stdlib.h> +#if HAVE_SYS_TYPES_H #include <sys/types.h> +#endif +#if HAVE_SYS_TIME_H #include <sys/time.h> +#endif #if HAVE_ERRNO_H #include <errno.h> #endif diff --git a/lib/ext2fs/check_desc.c b/lib/ext2fs/check_desc.c index 6a75b08e..602753d2 100644 --- a/lib/ext2fs/check_desc.c +++ b/lib/ext2fs/check_desc.c @@ -17,8 +17,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 #include <linux/ext2_fs.h> diff --git a/lib/ext2fs/cmp_bitmaps.c b/lib/ext2fs/cmp_bitmaps.c index 638315f8..9e583a7d 100644 --- a/lib/ext2fs/cmp_bitmaps.c +++ b/lib/ext2fs/cmp_bitmaps.c @@ -17,8 +17,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 diff --git a/lib/ext2fs/initialize.c b/lib/ext2fs/initialize.c index 15379680..1057ff6a 100644 --- a/lib/ext2fs/initialize.c +++ b/lib/ext2fs/initialize.c @@ -18,8 +18,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 diff --git a/lib/ext2fs/inline.c b/lib/ext2fs/inline.c index d5ee6839..97c3d069 100644 --- a/lib/ext2fs/inline.c +++ b/lib/ext2fs/inline.c @@ -20,8 +20,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 #include <linux/ext2_fs.h> diff --git a/lib/ext2fs/inode.c b/lib/ext2fs/inode.c index 86aa01ed..c84b27f7 100644 --- a/lib/ext2fs/inode.c +++ b/lib/ext2fs/inode.c @@ -15,8 +15,12 @@ #include <unistd.h> #endif #include <stdlib.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 diff --git a/lib/ext2fs/llseek.c b/lib/ext2fs/llseek.c index b06590a3..689b239e 100644 --- a/lib/ext2fs/llseek.c +++ b/lib/ext2fs/llseek.c @@ -9,7 +9,9 @@ * %End-Header% */ +#if HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <errno.h> #include <stdlib.h> diff --git a/lib/ext2fs/mkdir.c b/lib/ext2fs/mkdir.c index 649f05ae..2bfceb91 100644 --- a/lib/ext2fs/mkdir.c +++ b/lib/ext2fs/mkdir.c @@ -17,8 +17,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 diff --git a/lib/ext2fs/openfs.c b/lib/ext2fs/openfs.c index 791ebe11..6b27397b 100644 --- a/lib/ext2fs/openfs.c +++ b/lib/ext2fs/openfs.c @@ -22,8 +22,12 @@ #if HAVE_ERRNO_H #include <errno.h> #endif +#if HAVE_SYS_STAT_H #include <sys/stat.h> +#endif +#if HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <linux/ext2_fs.h> diff --git a/lib/ext2fs/read_bb.c b/lib/ext2fs/read_bb.c index 7379bbdf..99c653d2 100644 --- a/lib/ext2fs/read_bb.c +++ b/lib/ext2fs/read_bb.c @@ -17,8 +17,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 #include <linux/ext2_fs.h> diff --git a/lib/ext2fs/read_bb_file.c b/lib/ext2fs/read_bb_file.c index 32a80838..7534c640 100644 --- a/lib/ext2fs/read_bb_file.c +++ b/lib/ext2fs/read_bb_file.c @@ -17,8 +17,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 #include <linux/ext2_fs.h> diff --git a/lib/ext2fs/test_io.c b/lib/ext2fs/test_io.c index 65c4d102..26332eab 100644 --- a/lib/ext2fs/test_io.c +++ b/lib/ext2fs/test_io.c @@ -17,8 +17,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 diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c index 0baae381..b17ed7fe 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 |