From bd7f7c123db58dd7f50f4d1391577686d2f1bcc6 Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Tue, 28 Jul 2020 21:03:37 +0200
Subject: patch 8.2.1310: configure with Xcode 12 fails to check for tgetent

Problem:    Configure with Xcode 12 fails to check for tgetent.
Solution:   Declare tgetent(). (Ozaki Kiichi, closes #6558)
---
 src/auto/configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/auto')

diff --git a/src/auto/configure b/src/auto/configure
index 9c9a719d8..41b29c262 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -12106,7 +12106,7 @@ if test "x$olibs" = "x$LIBS"; then
 $as_echo_n "checking for tgetent()... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
+int tgetent(char *, const char *);
 int
 main ()
 {
-- 
cgit v1.2.1