7 #define __LIBC12_SOURCE__
8 __warn_references(__fts_children32
,
9 "warning: reference to compatibility __fts_children32();"
10 " include <fts.h> for correct reference")
11 __warn_references(__fts_close32
,
12 "warning: reference to compatibility __fts_close32();"
13 " include <fts.h> for correct reference")
14 __warn_references(__fts_open32
,
15 "warning: reference to compatibility __fts_open32();"
16 " include <fts.h> for correct reference")
17 __warn_references(__fts_read32
,
18 "warning: reference to compatibility __fts_read32();"
19 " include <fts.h> for correct reference")
20 __warn_references(__fts_set32
,
21 "warning: reference to compatibility __fts_set32();"
22 " include <fts.h> for correct reference")
24 #define __fts_stat_t struct stat30
25 #define __fts_dev_t uint32_t
26 #define __fts_level_t short
29 #define fts_children __fts_children32
31 #define fts_close __fts_close32
33 #define fts_open __fts_open32
35 #define fts_read __fts_read32
37 #define fts_set __fts_set32
40 #include <compat/sys/time.h>
42 #include <compat/sys/stat.h>
45 #include <compat/include/fts.h>
47 #define __FTS_COMPAT_LEVEL
50 #define lstat __lstat30
51 #define fstat __fstat30