irix-build-cleanup-20011113
authorChas Williams <chas@cmf.nrl.navy.mil>
Tue, 13 Nov 2001 04:52:26 +0000 (04:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 13 Nov 2001 04:52:26 +0000 (04:52 +0000)
make IP35 port select correctly. make pagsh build again

acinclude.m4
src/sys/pagsh.c

index 352b19c..07ad5f1 100644 (file)
@@ -152,7 +152,7 @@ case $system in
                 AC_MSG_RESULT(hp_ux)
                 ;;
         *-irix*)
-               if test -d /usr/include/SN/SN1; then
+               if test -d /usr/include/sys/SN/SN1; then
                 IRIX_BUILD_IP35="IP35"
                fi
                MKAFS_OSTYPE=IRIX
index de09c0e..ae8839d 100644 (file)
@@ -17,6 +17,7 @@ RCSID("$Header$");
 #endif
 #include <stdio.h>
 #include <stdlib.h>
+#include <limits.h>
 #ifndef AFS_NT40_ENV
 #include <unistd.h>
 #endif