aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fts/fts-header-correctness.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fts/fts-header-correctness.patch')
-rw-r--r--testing/fts/fts-header-correctness.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/fts/fts-header-correctness.patch b/testing/fts/fts-header-correctness.patch
new file mode 100644
index 0000000000..59061bfc95
--- /dev/null
+++ b/testing/fts/fts-header-correctness.patch
@@ -0,0 +1,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 */