]> git.cameronkatri.com Git - mandoc.git/blobdiff - compat_fts.c
Fix two minibugs reported by Thomas Klausner <wiz at NetBSD>:
[mandoc.git] / compat_fts.c
index 6756ad4947d6acada4fed22ff3c5f7166e8405ca..4caf74c13800898975fc2fe5d76de285a5b62f67 100644 (file)
@@ -1,11 +1,12 @@
 #include "config.h"
 
-#ifdef HAVE_FTS
+#if HAVE_FTS
 
 int dummy;
 
 #else
 
+/*     $Id: compat_fts.c,v 1.4 2014/08/17 20:45:59 schwarze Exp $      */
 /*     $OpenBSD: fts.c,v 1.46 2014/05/25 17:47:04 tedu Exp $   */
 
 /*-
@@ -489,7 +490,7 @@ fts_build(FTS *sp)
                if (ISDOT(dp->d_name))
                        continue;
 
-#ifdef HAVE_DIRENT_NAMLEN
+#if HAVE_DIRENT_NAMLEN
                dlen = dp->d_namlen;
 #else
                dlen = strlen(dp->d_name);