mandoc: fix compilation with GCC10

This is probably fixed in CVS. Unfortunately, I have no idea how to
import such a patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-03-15 21:13:37 -07:00
parent 03515d00cd
commit c4feffb0a1
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/compat_getline.c
+++ b/compat_getline.c
@@ -2,7 +2,7 @@
#if HAVE_GETLINE
-int dummy;
+extern int dummy;
#else