summaryrefslogtreecommitdiff
path: root/core/openbsd/patch/0002-fts-Add-some-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/openbsd/patch/0002-fts-Add-some-includes.patch')
-rw-r--r--core/openbsd/patch/0002-fts-Add-some-includes.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/core/openbsd/patch/0002-fts-Add-some-includes.patch b/core/openbsd/patch/0002-fts-Add-some-includes.patch
deleted file mode 100644
index a6a16303..00000000
--- a/core/openbsd/patch/0002-fts-Add-some-includes.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From de6a55b9392c80bb9be3dd8b9bb816d8d269ee5b Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Mon, 18 Apr 2016 01:25:29 -0700
-Subject: [PATCH] fts: Add some includes
-
----
- include/fts.h | 2 ++
- lib/libc/gen/fts.c | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/include/fts.h b/include/fts.h
-index eaf6be0..a5b3aff 100644
---- a/include/fts.h
-+++ b/include/fts.h
-@@ -35,6 +35,8 @@
- #ifndef _FTS_H_
- #define _FTS_H_
-
-+#include <sys/cdefs.h>
-+
- typedef struct {
- struct _ftsent *fts_cur; /* current node */
- struct _ftsent *fts_child; /* linked list of children */
-diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c
-index 77e1e77..eff297c 100644
---- a/lib/libc/gen/fts.c
-+++ b/lib/libc/gen/fts.c
-@@ -31,6 +31,7 @@
-
- #include <sys/param.h> /* ALIGN */
- #include <sys/stat.h>
-+#include <sys/types.h>
-
- #include <dirent.h>
- #include <errno.h>
-@@ -39,6 +40,7 @@
- #include <limits.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <time.h>
- #include <unistd.h>
-
- #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b))
---
-2.9.3
-