diff options
author | 2019-03-17 18:21:45 +0000 | |
---|---|---|
committer | 2019-03-17 18:21:45 +0000 | |
commit | a7dd551919aa760137d514a8e566611fdd1fad50 (patch) | |
tree | 8f8e644ddfe800dc9c879b93a560ef295cc271ad /eqn_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 'eqn_html.c')
-rw-r--r-- | eqn_html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: eqn_html.c,v 1.18 2018/12/13 05:23:38 schwarze Exp $ */ +/* $Id: eqn_html.c,v 1.19 2019/03/17 18:21:45 schwarze Exp $ */ /* * Copyright (c) 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -26,6 +26,7 @@ #include <string.h> #include "mandoc.h" +#include "roff.h" #include "eqn.h" #include "out.h" #include "html.h" |