summaryrefslogtreecommitdiff
path: root/core/openbsd/patch/0006-yacc-Add-some-includes.patch
blob: a4b0ed78fe683db3bce3ea3d53c0baf9b9b005c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.1