summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0024-libutil-Add-missing-includes.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-11-05 12:25:49 -0800
committerMichael Forney <mforney@mforney.org>2018-11-06 00:00:25 -0800
commitd19e6b823b76a87264202bbdd9c5b7e9773554e9 (patch)
treedbc1173761b0ab14f5c4c1b3374cf8c0ced69e27 /pkg/openbsd/patch/0024-libutil-Add-missing-includes.patch
parent9c81417ff34ccee69f204cb328b39a2f4831e163 (diff)
Use musl 1.1.20 getentropy
Diffstat (limited to 'pkg/openbsd/patch/0024-libutil-Add-missing-includes.patch')
-rw-r--r--pkg/openbsd/patch/0024-libutil-Add-missing-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0024-libutil-Add-missing-includes.patch b/pkg/openbsd/patch/0024-libutil-Add-missing-includes.patch
new file mode 100644
index 00000000..c441c199
--- /dev/null
+++ b/pkg/openbsd/patch/0024-libutil-Add-missing-includes.patch
@@ -0,0 +1,24 @@
+From 72cfeec702c7b76cce88be4c411ce40a8abb628c Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Tue, 10 Apr 2018 16:23:22 -0700
+Subject: [PATCH] libutil: Add missing includes
+
+---
+ lib/libutil/ohash.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/libutil/ohash.c b/lib/libutil/ohash.c
+index 74ca4fafd9c..9537c60eac4 100644
+--- a/lib/libutil/ohash.c
++++ b/lib/libutil/ohash.c
+@@ -15,6 +15,7 @@
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#include <sys/cdefs.h>
+ #include <stddef.h>
+ #include <stdint.h>
+ #include <stdlib.h>
+--
+2.17.0
+