diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-17 18:21:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-17 18:21:45 +0000 |
commit | a7dd551919aa760137d514a8e566611fdd1fad50 (patch) | |
tree | 8f8e644ddfe800dc9c879b93a560ef295cc271ad /tbl_html.c | |
parent | 45b05eb0e760705106bb43ced2e23ae0f6e69fd9 (diff) | |
download | mandoc-a7dd551919aa760137d514a8e566611fdd1fad50.tar.gz mandoc-a7dd551919aa760137d514a8e566611fdd1fad50.tar.zst mandoc-a7dd551919aa760137d514a8e566611fdd1fad50.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.
Diffstat (limited to 'tbl_html.c')
-rw-r--r-- | tbl_html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tbl_html.c,v 1.32 2019/01/06 04:55:09 schwarze Exp $ */ +/* $Id: tbl_html.c,v 1.33 2019/03/17 18:21:45 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -25,6 +25,7 @@ #include <string.h> #include "mandoc.h" +#include "roff.h" #include "tbl.h" #include "out.h" #include "html.h" |