From: Lionel Sambuc Date: Sat, 24 Oct 2015 23:35:08 +0000 (+0000) Subject: fix fts.c on minix X-Git-Url: http://zhaoyanbai.com/repos/%22http:/static/doc/zpipe.c?a=commitdiff_plain;h=6dc59ac7dc1f1d3005e2caf6fd9c1e64bf05e3d7;p=minix.git fix fts.c on minix Change-Id: I3888842734756cead342634a0c089001da59f1f7 --- diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c index 29d08613e..256b4baa9 100644 --- a/lib/libc/gen/fts.c +++ b/lib/libc/gen/fts.c @@ -1209,7 +1209,11 @@ fts_maxarglen(char * const *argv) } #if defined(__minix) +#if ! HAVE_NBTOOL_CONFIG_H #include +#else +#define NONE_MAJOR 0 +#endif #endif /* defined(__minix) */ /*