linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
0019-m4-Add-missing-includes.patch
(1150B)
1 From 3cc2a61c553d138778a6ec1dd84cd042ce834b4e Mon Sep 17 00:00:00 2001
2 From: Michael Forney <mforney@mforney.org>
3 Date: Tue, 10 Apr 2018 16:24:12 -0700
4 Subject: [PATCH] m4: Add missing includes
5
6 ---
7 usr.bin/m4/look.c | 1 +
8 usr.bin/m4/main.c | 1 +
9 usr.bin/m4/parser.y | 1 +
10 3 files changed, 3 insertions(+)
11
12 diff --git a/usr.bin/m4/look.c b/usr.bin/m4/look.c
13 index ac504570a9f..5feb0413cd6 100644
14 --- a/usr.bin/m4/look.c
15 +++ b/usr.bin/m4/look.c
16 @@ -38,6 +38,7 @@
17 * by: oz
18 */
19
20 +#include <sys/cdefs.h>
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <stdint.h>
24 diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
25 index f1b8fa5a55b..4e664c0a50b 100644
26 --- a/usr.bin/m4/main.c
27 +++ b/usr.bin/m4/main.c
28 @@ -39,6 +39,7 @@
29 * by: oz
30 */
31
32 +#include <sys/cdefs.h>
33 #include <assert.h>
34 #include <signal.h>
35 #include <err.h>
36 diff --git a/usr.bin/m4/parser.y b/usr.bin/m4/parser.y
37 index 5b46d261a9a..fedded1e44c 100644
38 --- a/usr.bin/m4/parser.y
39 +++ b/usr.bin/m4/parser.y
40 @@ -17,6 +17,7 @@
41 */
42 #include <math.h>
43 #include <stdint.h>
44 +#include <stdlib.h>
45 #define YYSTYPE int32_t
46 extern int32_t end_result;
47 extern int yylex(void);
48 --
49 2.22.0
50