diff options
author | Jim Meyering <jim@meyering.net> | 2003-04-07 18:11:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-04-07 18:11:39 +0000 |
commit | 8fd978c2236b240a2875a8320c8b9b75d960fd24 (patch) | |
tree | e84a06945dc2de1c523ed089ff943f4dfe43f06b /src | |
parent | 2aed952a5ccdf2020ea2effac3cd6ca91c355a0b (diff) | |
download | coreutils-8fd978c2236b240a2875a8320c8b9b75d960fd24.tar.xz |
Add #include directives for Ultrix 4.4.
Based on a suggested change from Bert Deknuydt.
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c index ec286abda..5ca5cfdf5 100644 --- a/src/stat.c +++ b/src/stat.c @@ -32,11 +32,16 @@ # include <sys/vfs.h> #endif -/* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ #if !HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H # if HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H +/* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */ # include <sys/param.h> # include <sys/mount.h> +# elif HAVE_NETINET_IN_H && HAVE_NFS_NFS_CLNT_H && HAVE_NFS_VFS_H +/* Ultrix 4.4 needs these for the declaration of struct statfs. */ +# include <netinet/in.h> +# include <nfs/nfs_clnt.h> +# include <nfs/vfs.h> # endif #endif |