aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kbuild/sys-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/kbuild/sys-types.patch')
-rw-r--r--unmaintained/kbuild/sys-types.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/unmaintained/kbuild/sys-types.patch b/unmaintained/kbuild/sys-types.patch
new file mode 100644
index 0000000000..dccb48a23e
--- /dev/null
+++ b/unmaintained/kbuild/sys-types.patch
@@ -0,0 +1,14 @@
+diff --git a/src/kmk/kmkbuiltin/ftsfake.h b/src/kmk/kmkbuiltin/ftsfake.h
+index 2518d30..5410256 100644
+--- a/src/kmk/kmkbuiltin/ftsfake.h
++++ b/src/kmk/kmkbuiltin/ftsfake.h
+@@ -38,6 +38,9 @@
+ # include "kmkbuiltin/mscfakes.h"
+ #endif
+
++/* for u_int */
++#include <sys/types.h>
++
+ typedef struct {
+ struct _ftsent *fts_cur; /* current node */
+ struct _ftsent *fts_child; /* linked list of children */