diff --new-file -urp unionfs-1.0.14/fistdev.mk unionfs-1.0.14-zaurus/fistdev.mk
--- unionfs-1.0.14/fistdev.mk	1970-01-01 01:00:00.000000000 +0100
+++ unionfs-1.0.14-zaurus/fistdev.mk	2005-09-21 08:02:25.000000000 +0200
@@ -0,0 +1,4 @@
+TOPINC=-I/home/darkstar/zaurus/kernel/linux-cacko-1.22.brew/include
+LINUXSRC=/home/darkstar/zaurus/kernel/linux-cacko-1.22.brew
+UNIONFS_DEBUG_CFLAG= # clear var to allow for stripped modules
+EXTRACFLAGS=-DUNIONFS_NDEBUG -DUNIONFS_UNSUPPORTED -w -mapcs -fno-common -pipe -mapcs-32 -march=armv4 -Wa,-mxscale -mtune=strongarm -mshort-load-bytes -msoft-float
diff --new-file -urp unionfs-1.0.14/Makefile unionfs-1.0.14-zaurus/Makefile
--- unionfs-1.0.14/Makefile	2005-09-15 20:55:43.000000000 +0200
+++ unionfs-1.0.14-zaurus/Makefile	2005-09-21 08:03:02.000000000 +0200
@@ -30,9 +30,10 @@ else
 endif
 
 CC	= gcc
-KERNELVERSION=$(shell echo $(KVERS) | cut -d. -f1,2)
+#KERNELVERSION=$(shell echo $(KVERS) | cut -d. -f1,2)
+KERNELVERSION=2.4
 ifeq ($(KERNELVERSION),2.4)
-CFLAGS = -D__KERNEL__ -DMODULE -I. ${TOPINC} -Wall -Wno-unused-label -Werror -fno-strict-aliasing ${EXTRACFLAGS} ${UNIONFS_DEBUG_CFLAG} ${UNIONFS_OPT_CFLAG} ${UNIONFS_VERSION_CFLAG}
+CFLAGS = -D__KERNEL__ -DMODULE -I. ${TOPINC} ${EXTRACFLAGS} ${UNIONFS_DEBUG_CFLAG} ${UNIONFS_OPT_CFLAG} ${UNIONFS_VERSION_CFLAG}
 endif
 EXTRA_CFLAGS += ${TOPINC} -Wall -Werror ${EXTRACFLAGS} ${UNIONFS_DEBUG_CFLAG} ${UNIONFS_OPT_CFLAG} ${UNIONFS_VERSION_CFLAG}
 UCFLAGS = -I. ${UNIONFS_DEBUG_CFLAG} ${UNIONFS_OPT_CFLAG} -Wall -Werror ${EXTRAUCFLAGS}  ${UNIONFS_VERSION_CFLAG}
diff --new-file -urp unionfs-1.0.14/unionctl.c unionfs-1.0.14-zaurus/unionctl.c
--- unionfs-1.0.14/unionctl.c	2005-09-15 20:55:43.000000000 +0200
+++ unionfs-1.0.14-zaurus/unionctl.c	2005-09-21 07:15:03.000000000 +0200
@@ -21,6 +21,7 @@
 #include <sys/ioctl.h>
 #include <sys/stat.h>
 #include <sys/mount.h>
+#include <linux/limits.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <unistd.h>

