X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fdropin.c;h=eb17acaad082ecb40d489bd5f7c0022cdadcd7d7;hb=268c8545aaf83b7433f43402f5c77e39e20006ef;hp=4aed74e95125b6492f9ecc64e464d771f3fe9970;hpb=33f241d97852d7a171f1aaf1bda7f66356ff889e;p=tinc diff --git a/src/dropin.c b/src/dropin.c index 4aed74e9..eb17acaa 100644 --- a/src/dropin.c +++ b/src/dropin.c @@ -165,7 +165,7 @@ int gettimeofday(struct timeval *tv, void *tz) { #endif #ifndef HAVE_USLEEP -int usleep(long usec) { +int usleep(long long usec) { struct timeval tv = {usec / 1000000, (usec / 1000) % 1000}; select(0, NULL, NULL, NULL, &tv); return 0;