--- openafs-1.2.8/src/pam/Makefile.in	2002-09-09 22:03:42.000000000 -0700
+++ openafs-1.2.8.new/src/pam/Makefile.in	2003-01-03 11:37:52.000000000 -0800
@@ -43,8 +43,7 @@
  SHOBJS = afs_account.o afs_session.o afs_password.o \
 	  afs_pam_msg.o afs_message.o AFS_component_version_number.o
    OBJS = $(SHOBJS) test_pam.o
-INCLUDES=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} \
-	-I/usr/include -I/usr/include/sys
+INCLUDES=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} 
 CFLAGS =  ${DEBUG} ${INCLUDES} ${PAM_CFLAGS}
 
 all: test_pam ${TOP_LIBDIR}/pam_afs.so.1 ${TOP_LIBDIR}/pam_afs.krb.so.1
--- openafs-1.2.8.old/src/venus/test/owntest.c	2002-08-21 11:14:27.000000000 -0700
+++ openafs-1.2.8/src/venus/test/owntest.c	2003-01-03 09:48:07.000000000 -0800
@@ -19,6 +19,7 @@
 #include <sys/file.h>
 #include <sys/stat.h>
 #include <sys/time.h>
+#include <errno.h>
 
 extern int errno;
 
--- openafs-1.2.8.old/src/ptserver/pt_util.c	2001-09-17 21:27:18.000000000 -0700
+++ openafs-1.2.8/src/ptserver/pt_util.c	2003-01-02 17:17:57.000000000 -0800
@@ -16,6 +16,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
+#include <errno.h>
 #include <sys/file.h>
 
 #include <afsconfig.h>
--- openafs-1.2.8.old/src/sys/rmtsyss.c	2002-03-10 11:08:00.000000000 -0800
+++ openafs-1.2.8/src/sys/rmtsyss.c	2003-01-02 17:17:06.000000000 -0800
@@ -26,6 +26,7 @@
 #include <sys/file.h>
 #include <stdio.h>
 #include <rx/xdr.h>
+#include <errno.h>
 #include <signal.h>
 #ifdef HAVE_STRING_H
 #include <string.h>
