--- libraries/tools/make_bootlib.orig	2010-09-29 15:03:05.000000000 +0200
+++ libraries/tools/make_bootlib	2010-09-29 15:04:12.000000000 +0200
@@ -165,7 +165,8 @@
 
 case $platform in
 Unix)
-	$ffihugs '-i"HsBase.h"' System.Posix.Internals $base_includes
+	$ffihugs '-i"HsBase.h"' System.Posix.Internals $base_includes \
+		$source/base/cbits/dirUtils.c \
 	;;
 Win32)
 	$ffihugs '-i"HsBase.h"' System.Directory $base_includes $base_libs
