]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 17 Nov 2015 18:19:45 +0000 (12:19 -0600)
Silence warnings about struct timeval declaration

include/ldap_pvt.h

index 28bf2156ca0d29efe3073124ad1b22f0962a1598..d79be3785fe090b18db5aa0887fa356eb9640c35 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