freespace portability fixes for IRIX
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 23 Aug 1993 23:53:52 +0000 (15:53 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 23 Aug 1993 23:53:52 +0000 (15:53 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.27

usr/src/usr.sbin/sendmail/src/conf.c

index a39709a..3e93a90 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.26 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.27 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -1304,7 +1304,7 @@ freespace(dir, bsize)
 #  else
        struct statfs fs;
 #   define FSBLOCKSIZE fs.f_bsize
 #  else
        struct statfs fs;
 #   define FSBLOCKSIZE fs.f_bsize
-#   if defined(_SCO_unix_)
+#   if defined(_SCO_unix_) || defined(IRIX)
 #    define f_bavail f_bfree
 #   endif
 #  endif
 #    define f_bavail f_bfree
 #   endif
 #  endif