From 6456e5f5593c09bf6a446e82e690181beed3d077 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 18 Dec 2001 00:16:15 +0000 Subject: [PATCH] from jon@symas.com - misc cleanup --- libraries/libldap/util-int.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index ffd2214081..00faaca7d5 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -95,7 +95,9 @@ char *ldap_pvt_ctime( const time_t *tp, char *buf ) #define BUFSTART 1024 #define BUFMAX (32*1024) +#if defined( NEED_SAFE_REALLOC ) static char *safe_realloc( char **buf, int len ); +#endif #if !defined(HAVE_GETHOSTBYNAME_R) && defined(LDAP_R_COMPILE) static int copy_hostent( struct hostent *res, char **buf, struct hostent * src ); -- 2.39.5