mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9790 Fix build with old GCC
Versions 4.1 and 4.3 show the following error:
In file included from ../../include/lutil.h:21,
from passwd.c:60:
../../include/ac/socket.h:247: error: redefinition of typedef 'Sockaddr'
../../include/ldap_pvt.h:188: error: previous declaration of 'Sockaddr' was here
This commit is contained in:
parent
a4ed858ecb
commit
70c9dbf93d
1 changed files with 2 additions and 2 deletions
|
|
@ -185,11 +185,11 @@ ldap_pvt_get_hname LDAP_P((
|
||||||
#define LDAP_IPADDRLEN sizeof("IP=255.255.255.255:65336")
|
#define LDAP_IPADDRLEN sizeof("IP=255.255.255.255:65336")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef union Sockaddr Sockaddr;
|
union Sockaddr;
|
||||||
|
|
||||||
LDAP_F (void)
|
LDAP_F (void)
|
||||||
ldap_pvt_sockaddrstr LDAP_P((
|
ldap_pvt_sockaddrstr LDAP_P((
|
||||||
Sockaddr *sa,
|
union Sockaddr *sa,
|
||||||
struct berval * ));
|
struct berval * ));
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue