summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0020-libutil-Add-missing-includes.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2025-04-29 16:35:44 -0700
committerMichael Forney <mforney@mforney.org>2025-04-29 18:08:11 -0700
commit06624ed7867c902e0ca44b5ca381e9d4dc157e14 (patch)
treeb599a63619db2f17915395b1b7c01025a6181159 /pkg/openbsd/patch/0020-libutil-Add-missing-includes.patch
parentf14538ac33402854509d46e1a7bdaae091c2fb80 (diff)
openbsd: Update to 7.7
Diffstat (limited to 'pkg/openbsd/patch/0020-libutil-Add-missing-includes.patch')
-rw-r--r--pkg/openbsd/patch/0020-libutil-Add-missing-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0020-libutil-Add-missing-includes.patch b/pkg/openbsd/patch/0020-libutil-Add-missing-includes.patch
new file mode 100644
index 00000000..c441c199
--- /dev/null
+++ b/pkg/openbsd/patch/0020-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
+