| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- /dev/null |
| 2 | +++ b/lib/fts.h | ||||
| 3 | @@ -0,0 +1,6 @@ | ||||
| 4 | +#ifdef __APPLE__ | ||||
| 5 | +# define _FTS_H_ 1 | ||||
| 6 | +# include <fts_.h> | ||||
| 7 | +#else | ||||
| 8 | +# include_next <fts.h> | ||||
| 9 | +#endif | ||||
| 10 | --- a/modules/fts | ||||
| 11 | +++ b/modules/fts | ||||
| 12 | @@ -2,6 +2,7 @@ Description: | ||||
| 13 | Traverse a file hierarchy. | ||||
| 14 | |||||
| 15 | Files: | ||||
| 16 | +lib/fts.h | ||||
| 17 | lib/fts_.h | ||||
| 18 | lib/fts.c | ||||
| 19 | lib/fts-cycle.c | ||||