Index: xfsprogs-2.10.2/libxfs/xfs_dir2.c
===================================================================
--- xfsprogs-2.10.2.orig/libxfs/xfs_dir2.c	2008-12-20 11:21:21.985184849 +1100
+++ xfsprogs-2.10.2/libxfs/xfs_dir2.c	2008-12-20 11:21:33.795013403 +1100
@@ -21,6 +21,7 @@
  * Top-level and utility routines.
  */
 
+#include <ctype.h>
 #include <xfs.h>
 
 extern const struct xfs_nameops xfs_default_nameops;
