diff options
| author | Michael Forney <mforney@mforney.org> | 2020-10-19 14:56:56 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-10-19 14:59:25 -0700 |
| commit | d6c984d896bdabccb020a0fe082c1b64f273a311 (patch) | |
| tree | 974de9fb24dd5a25a4db6fdac8b291d5b6c95e79 /pkg/openbsd/patch/0021-m4-Add-missing-includes.patch | |
| parent | cac232f56ce841a4bebcd1e8f567d1c52fea2b1c (diff) | |
openbsd: Update to 6.8
Diffstat (limited to 'pkg/openbsd/patch/0021-m4-Add-missing-includes.patch')
| -rw-r--r-- | pkg/openbsd/patch/0021-m4-Add-missing-includes.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0021-m4-Add-missing-includes.patch b/pkg/openbsd/patch/0021-m4-Add-missing-includes.patch new file mode 100644 index 00000000..d647009b --- /dev/null +++ b/pkg/openbsd/patch/0021-m4-Add-missing-includes.patch @@ -0,0 +1,50 @@ +From 3cc2a61c553d138778a6ec1dd84cd042ce834b4e Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Tue, 10 Apr 2018 16:24:12 -0700 +Subject: [PATCH] m4: Add missing includes + +--- + usr.bin/m4/look.c | 1 + + usr.bin/m4/main.c | 1 + + usr.bin/m4/parser.y | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/usr.bin/m4/look.c b/usr.bin/m4/look.c +index ac504570a9f..5feb0413cd6 100644 +--- a/usr.bin/m4/look.c ++++ b/usr.bin/m4/look.c +@@ -38,6 +38,7 @@ + * by: oz + */ + ++#include <sys/cdefs.h> + #include <stdio.h> + #include <stdlib.h> + #include <stdint.h> +diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c +index f1b8fa5a55b..4e664c0a50b 100644 +--- a/usr.bin/m4/main.c ++++ b/usr.bin/m4/main.c +@@ -39,6 +39,7 @@ + * by: oz + */ + ++#include <sys/cdefs.h> + #include <assert.h> + #include <signal.h> + #include <err.h> +diff --git a/usr.bin/m4/parser.y b/usr.bin/m4/parser.y +index 5b46d261a9a..fedded1e44c 100644 +--- a/usr.bin/m4/parser.y ++++ b/usr.bin/m4/parser.y +@@ -17,6 +17,7 @@ + */ + #include <math.h> + #include <stdint.h> ++#include <stdlib.h> + #define YYSTYPE int32_t + extern int32_t end_result; + extern int yylex(void); +-- +2.22.0 + |
