diff options
author | 2019-03-17 18:20:07 +0000 | |
---|---|---|
committer | 2019-03-17 18:20:07 +0000 | |
commit | 8761b3c5edfc337ffbf6b9a5a5ebf0ea4d7d494c (patch) | |
tree | 0392016772d51ff73126a7ed108cb161e42560d0 | |
parent | bump minors after symbol addition (diff) | |
download | wireguard-openbsd-8761b3c5edfc337ffbf6b9a5a5ebf0ea4d7d494c.tar.xz wireguard-openbsd-8761b3c5edfc337ffbf6b9a5a5ebf0ea4d7d494c.zip |
The header file "html.h" uses enum roff_tok,
so "roff.h" must be included before it.
Diff from bcallah@ tweaked by me;
he found the bug by compiling with pcc.
-rw-r--r-- | usr.bin/mandoc/eqn_html.c | 3 | ||||
-rw-r--r-- | usr.bin/mandoc/tbl_html.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/mandoc/eqn_html.c b/usr.bin/mandoc/eqn_html.c index 60a894c44e4..049bbf9f879 100644 --- a/usr.bin/mandoc/eqn_html.c +++ b/usr.bin/mandoc/eqn_html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eqn_html.c,v 1.14 2018/12/13 05:13:15 schwarze Exp $ */ +/* $OpenBSD: eqn_html.c,v 1.15 2019/03/17 18:20:07 schwarze Exp $ */ /* * Copyright (c) 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -24,6 +24,7 @@ #include <string.h> #include "mandoc.h" +#include "roff.h" #include "eqn.h" #include "out.h" #include "html.h" diff --git a/usr.bin/mandoc/tbl_html.c b/usr.bin/mandoc/tbl_html.c index bbde210c570..cbc4bfad65e 100644 --- a/usr.bin/mandoc/tbl_html.c +++ b/usr.bin/mandoc/tbl_html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tbl_html.c,v 1.27 2019/01/06 04:41:15 schwarze Exp $ */ +/* $OpenBSD: tbl_html.c,v 1.28 2019/03/17 18:20:07 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -23,6 +23,7 @@ #include <string.h> #include "mandoc.h" +#include "roff.h" #include "tbl.h" #include "out.h" #include "html.h" |