aboutsummaryrefslogtreecommitdiffstats
path: root/main/fts/fts-header-correctness.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-25 20:59:59 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-25 20:59:59 -0600
commitdaf268baf10f53258168866f3d169dadf7e3740d (patch)
tree1ab40fe16e28499ed0f032048ac2298d6e47b80e /main/fts/fts-header-correctness.patch
parent91e0b79a67a9fd07431cf36931a33050a58fe8dd (diff)
downloadaports-daf268baf10f53258168866f3d169dadf7e3740d.tar.bz2
aports-daf268baf10f53258168866f3d169dadf7e3740d.tar.xz
testing/fts: promote to main
Diffstat (limited to 'main/fts/fts-header-correctness.patch')
-rw-r--r--main/fts/fts-header-correctness.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/fts/fts-header-correctness.patch b/main/fts/fts-header-correctness.patch
new file mode 100644
index 0000000000..59061bfc95
--- /dev/null
+++ b/main/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 */