From: Kurt Zeilenga Date: Fri, 21 May 1999 03:10:52 +0000 (+0000) Subject: Protect strcasecmp from macro w/ args expansion. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a5fc0872b4ccb82662f3ff7361fd9a5ec943ea3;p=openldap Protect strcasecmp from macro w/ args expansion. --- 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 )