linux-ppc-minor-cleanup-20010119
authorSam Hartman <hartmans@mit.edu>
Fri, 19 Jan 2001 05:57:12 +0000 (05:57 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 19 Jan 2001 05:57:12 +0000 (05:57 +0000)
Minor fixes to make the PPC port happy.

src/libafs/MakefileProto.LINUX
src/vol/partition.c

index 98f9ca7..cb6cd68 100644 (file)
@@ -106,6 +106,8 @@ ${COMPDIRS}:
                ln -s $${IDIR} netinet; \
                rm -f sys; \
                ln -s $${IDIR} sys; \
+               rm -f asm-generic; \
+               ln -s ${LINUX_SRCDIR}$$v/include/asm-generic asm-generic; \
                rm -f asm; \
 <i386_linux22 i386_linux24>
                ln -s ${LINUX_SRCDIR}$$v/include/asm-i386 asm ; \
index c3409de..9e3ad50 100644 (file)
@@ -71,8 +71,7 @@
 #else
 #ifdef AFS_LINUX22_ENV
 #include <mntent.h>
-#include <linux/fs.h>
-#include <linux/ext2_fs.h>
+#include <sys/statfs.h>
 #else
 #include <fstab.h>
 #endif