From: Howard Chu Date: Mon, 16 Nov 2015 13:36:20 +0000 (+0000) Subject: ITS#8295 more for prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=854eb3b7dce712dd0573f71cf7b219ed3977d3a7;p=openldap ITS#8295 more for prev commit Silence warnings about struct timeval declaration --- diff --git a/include/ldap_pvt.h b/include/ldap_pvt.h index 141e1e7982..094f918b7a 100644 --- a/include/ldap_pvt.h +++ b/include/ldap_pvt.h @@ -129,6 +129,7 @@ ldap_pvt_gettime LDAP_P(( struct lutil_tm * )); #ifdef _WIN32 #define gettimeofday(tv,tz) ldap_pvt_gettimeofday(tv,tz) +struct timeval; LDAP_F( int ) ldap_pvt_gettimeofday LDAP_P(( struct timeval *tv, void *unused )); #endif