From 5a5fc0872b4ccb82662f3ff7361fd9a5ec943ea3 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Fri, 21 May 1999 03:10:52 +0000
Subject: [PATCH] Protect strcasecmp from macro w/ args expansion.

---
 include/ac/string.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/ac/string.h b/include/ac/string.h
index 2e8472d37f..3a17c7c4d8 100644
--- a/include/ac/string.h
+++ b/include/ac/string.h
@@ -65,7 +65,8 @@ extern char *ldap_pvt_strdup( const char * s );
  * some systems fail to declare strcasecmp() and strncasecmp()
  * we need them declared so we can obtain pointers to them
  */
-extern int strcasecmp(), strncasecmp();
+extern int (strcasecmp)();
+extern int (strncasecmp)();
 
 #ifndef SAFEMEMCPY
 #	if defined( HAVE_MEMMOVE )
-- 
GitLab