diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-06-22 19:20:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-06-22 19:20:40 +0000 |
commit | 23725517c855826c2ed76257c280b26e55e87c09 (patch) | |
tree | e695824e545fc5327e6b35f5df8e0b8de14668da /mdoc_markdown.c | |
parent | 64a1a2d254f9f0b7fc3946aacd0d7362969b3ac9 (diff) | |
download | mandoc-23725517c855826c2ed76257c280b26e55e87c09.tar.gz |
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 <kazuo at irixnet dot org>.
Diffstat (limited to 'mdoc_markdown.c')
-rw-r--r-- | mdoc_markdown.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc_markdown.c b/mdoc_markdown.c index 0774526b..5e1d01cf 100644 --- a/mdoc_markdown.c +++ b/mdoc_markdown.c @@ -16,6 +16,8 @@ * * Markdown formatter for mdoc(7) used by mandoc(1). */ +#include "config.h" + #include <sys/types.h> #include <assert.h> |