diff options
author | Jim Meyering <meyering@redhat.com> | 2008-10-06 07:31:50 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-10-06 07:31:50 +0200 |
commit | ed0a1c9f943ed112c7ef24b8ab85d530ce5ca324 (patch) | |
tree | 59611197282931beec822ac908796467ee068004 /src | |
parent | f9da2d0e8759db7927aada432ea478df312580d5 (diff) | |
download | coreutils-ed0a1c9f943ed112c7ef24b8ab85d530ce5ca324.tar.xz |
remove.c: avoid compile failure on OS/2
* src/remove.c (dirent_inode_sort_may_be_useful): Guard also with
"#if defined __linux__". Reported by Elbert Pol.
Diffstat (limited to 'src')
-rw-r--r-- | src/remove.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c index 9bcd6f7c2..2e342c092 100644 --- a/src/remove.c +++ b/src/remove.c @@ -1276,7 +1276,8 @@ dirent_count (struct stat const *st) return st->st_size / 16; } -# if HAVE_SYS_VFS_H && HAVE_FSTATFS && HAVE_STRUCT_STATFS_F_TYPE +#if defined __linux__ \ + && HAVE_SYS_VFS_H && HAVE_FSTATFS && HAVE_STRUCT_STATFS_F_TYPE # include <sys/vfs.h> # include "fs.h" |