]> Zhao Yanbai Git Server - minix.git/commitdiff
fix fts.c on minix 22/3222/2
authorLionel Sambuc <lionel.sambuc@gmail.com>
Sat, 24 Oct 2015 23:35:08 +0000 (23:35 +0000)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Wed, 13 Jan 2016 19:32:22 +0000 (20:32 +0100)
Change-Id: I3888842734756cead342634a0c089001da59f1f7

lib/libc/gen/fts.c

index 29d08613eca67e6c68e6be57782f1052b0cb86ba..256b4baa941cf87d348cf75e0670770d0cf8a8c3 100644 (file)
@@ -1209,7 +1209,11 @@ fts_maxarglen(char * const *argv)
 }
 
 #if defined(__minix)
+#if ! HAVE_NBTOOL_CONFIG_H
 #include <minix/dmap.h>
+#else
+#define NONE_MAJOR 0
+#endif
 #endif /* defined(__minix) */
 
 /*