summaryrefslogtreecommitdiff
path: root/core/openbsd/patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-04-23 15:26:10 -0700
committerMichael Forney <mforney@mforney.org>2016-04-23 16:51:20 -0700
commitae533ae87281c41a2574297269e86bc0ebb5afa6 (patch)
tree28b9081424759d5500c8bebb42705787edafdd1a /core/openbsd/patch
parenta881cf90771d10cd05b5ffb812991da20dc2018e (diff)
openbsd/yacc: Add missing patch for includes
Diffstat (limited to 'core/openbsd/patch')
-rw-r--r--core/openbsd/patch/0006-yacc-Add-some-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/openbsd/patch/0006-yacc-Add-some-includes.patch b/core/openbsd/patch/0006-yacc-Add-some-includes.patch
new file mode 100644
index 00000000..0a51efac
--- /dev/null
+++ b/core/openbsd/patch/0006-yacc-Add-some-includes.patch
@@ -0,0 +1,24 @@
+From 148c9835e6304a4247c7116156e8c5a97f153c0e Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Mon, 18 Apr 2016 17:34:01 -0700
+Subject: [PATCH] yacc: Add some includes
+
+---
+ usr.bin/yacc/defs.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/usr.bin/yacc/defs.h b/usr.bin/yacc/defs.h
+index 7300cae..fab6e12 100644
+--- a/usr.bin/yacc/defs.h
++++ b/usr.bin/yacc/defs.h
+@@ -35,6 +35,7 @@
+ * @(#)defs.h 5.6 (Berkeley) 5/24/93
+ */
+
++#include <sys/cdefs.h>
+ #include <assert.h>
+ #include <ctype.h>
+ #include <stdio.h>
+--
+2.8.0
+