aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fts/fts-header-correctness.patch
blob: 59061bfc957f72eed78b54c9f273632c8ae55763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- fts.orig/fts.h
+++ fts/fts.h
@@ -38,6 +38,17 @@
 #ifndef	_FTS_H_
 #define	_FTS_H_
 
+#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/stat.h>
+
+#include <dirent.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
 typedef struct {
 	struct _ftsent *fts_cur;	/* current node */
 	struct _ftsent *fts_child;	/* linked list of children */