diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index 4f32cd3b07..5f6f6d5d35 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -30,8 +30,6 @@ #include #endif -#include /* for struct timeval */ - #ifdef HAVE_CYRUS_SASL /* the need for this should be removed */ #ifdef HAVE_SASL_SASL_H @@ -44,6 +42,9 @@ #define SASL_MIN_BUFF_SIZE 4096 #endif +/* for struct timeval */ +#include + #undef TV2MILLISEC #define TV2MILLISEC(tv) (((tv)->tv_sec * 1000) + ((tv)->tv_usec/1000))