aboutsummaryrefslogtreecommitdiff
path: root/tools/gnulib/patches/120-unmangle-darwin-fts-h.patch
blob: 19e46b9103822b3b3a73889a639e38be62b85c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- /dev/null
+++ b/lib/fts.h
@@ -0,0 +1,6 @@
+#ifdef __APPLE__
+# define _FTS_H_ 1
+# include <fts_.h>
+#else
+# include_next <fts.h>
+#endif
--- a/modules/fts
+++ b/modules/fts
@@ -2,6 +2,7 @@ Description:
 Traverse a file hierarchy.
 
 Files:
+lib/fts.h
 lib/fts_.h
 lib/fts.c
 lib/fts-cycle.c