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 . --- dba_read.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dba_read.c') diff --git a/dba_read.c b/dba_read.c index 0809eff9..219778a0 100644 --- a/dba_read.c +++ b/dba_read.c @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id$ */ /* * Copyright (c) 2016 Ingo Schwarze * @@ -19,6 +19,8 @@ * The interface is defined in "dba.h". * This file is seperate from dba.c because this also uses "dbm.h". */ +#include "config.h" + #include #include #include -- cgit