From 23725517c855826c2ed76257c280b26e55e87c09 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 22 Jun 2020 19:20:40 +0000 Subject: Because mandoc_aux.h and mandoc.h use __attribute__, all files that include mandoc_aux.h or mandoc.h need to include config.h, too. It is suspected that for example IRIX needs this, or it is likely to throw errors in these files because the system compiler doesn't understand __attribute__. Issue reported by Kazuo Kuroi . --- term_tab.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'term_tab.c') diff --git a/term_tab.c b/term_tab.c index a85f59de..1f500cc2 100644 --- a/term_tab.c +++ b/term_tab.c @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id$ */ /* * Copyright (c) 2017 Ingo Schwarze * @@ -14,6 +14,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "config.h" + #include #include -- cgit