aports/testing/fts/fts-header-correctness.patch
Natanael Copa b2ca2d696b Revert "main/fts: *plonk*" and move to testing
This reverts commit 01907687add4bd2c41053f1314ad423d6c9c21fe.
2014-09-11 14:16:26 +00:00

21 lines
410 B
Diff

--- 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 */