]> git.sur5r.net Git - openldap/commitdiff
Add <ac/time.h> for 'struct timeval'
authorKurt Zeilenga <kurt@openldap.org>
Fri, 22 Apr 2005 17:45:09 +0000 (17:45 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 22 Apr 2005 17:45:09 +0000 (17:45 +0000)
clients/tools/ldapdelete.c
clients/tools/ldapmodrdn.c

index 42730f14023a824ab97c5e8c196971af466fe9a7..526cd25cd70a912434c0fbab63a32440c0eea4f2 100644 (file)
@@ -39,6 +39,7 @@
 #include <ac/ctype.h>
 #include <ac/string.h>
 #include <ac/unistd.h>
+#include <ac/time.h>
 
 #include <ldap.h>
 #include "lutil.h"
@@ -234,7 +235,7 @@ static int dodelete(
        }
 
        for ( ; ; ) {
-               struct timeval  tv;
+               struct timeval tv;
 
                if ( tool_check_abandon( ld, id ) ) {
                        return LDAP_CANCELLED;
index dd3146cd063c1d1c0e180c1b7508760c7a52ab11..33c4b2934e3cfcbaf2d257c73f429799b165ca50 100644 (file)
@@ -52,6 +52,7 @@
 #include <ac/ctype.h>
 #include <ac/string.h>
 #include <ac/unistd.h>
+#include <ac/time.h>
 
 #include <ldap.h>
 #include "lutil.h"