]> git.sur5r.net Git - openldap/commitdiff
ITS#8295 more for prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 16 Nov 2015 13:36:20 +0000 (13:36 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 16 Nov 2015 13:36:20 +0000 (13:36 +0000)
Silence warnings about struct timeval declaration

include/ldap_pvt.h

index 141e1e798200fbb6b7cc6677ff319a86a375236d..094f918b7a820b72d9c51d0e05be3b2732e12707 100644 (file)
@@ -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