]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add #include directives for Ultrix 4.4.
authorJim Meyering <jim@meyering.net>
Mon, 7 Apr 2003 18:11:39 +0000 (18:11 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 7 Apr 2003 18:11:39 +0000 (18:11 +0000)
Based on a suggested change from Bert Deknuydt.

src/stat.c

index ec286abda14eed733be21d01c1840c606311e37b..5ca5cfdf594ffcb6549ea4de2d8b53e661e3d74b 100644 (file)
 # 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