mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
don't define NEED_COPY_HOSTENT in the decleration
This commit is contained in:
parent
ac5ecaf8e0
commit
aaf59e2a2b
@ -98,7 +98,6 @@ char *ldap_pvt_ctime( const time_t *tp, char *buf )
|
|||||||
static char *safe_realloc( char **buf, int len );
|
static char *safe_realloc( char **buf, int len );
|
||||||
|
|
||||||
#if !defined(HAVE_GETHOSTBYNAME_R) && defined(LDAP_R_COMPILE)
|
#if !defined(HAVE_GETHOSTBYNAME_R) && defined(LDAP_R_COMPILE)
|
||||||
# define NEED_COPY_HOSTENT
|
|
||||||
static int copy_hostent( struct hostent *res, char **buf, struct hostent * src );
|
static int copy_hostent( struct hostent *res, char **buf, struct hostent * src );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user