[project @ 2006-01-09 14:31:37 by simonmar]
[ghc-hetmet.git] / glafp-utils / lndir / lndir.c
index e435b2b..c65715e 100644 (file)
@@ -44,6 +44,7 @@ in this Software without prior written authorization from the X Consortium.
 */
 
 #include "lndir-Xos.h"
+#include <stdlib.h>
 #include <stdio.h>
 #include <sys/stat.h>
 #include <sys/param.h>
@@ -245,6 +246,8 @@ int rel;                    /* if true, prepend "../" to fn before using */
                    continue;
                if (!strcmp (dp->d_name, ".svn"))
                    continue;
+               if (!strcmp (dp->d_name, "_darcs"))
+                   continue;
                if (!strcmp (dp->d_name, "CVS.adm"))
                    continue;
                ocurdir = rcurdir;