X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Fdropin.c;h=eb17acaad082ecb40d489bd5f7c0022cdadcd7d7;hp=1bad05cd43e6fee4c88937f0a69577741819aca6;hb=e16ead8dd9d4600664058069f0695832dfe068b2;hpb=b3731c04097e66a6b8908bb893c5da831d89c04d diff --git a/lib/dropin.c b/lib/dropin.c index 1bad05cd..eb17acaa 100644 --- a/lib/dropin.c +++ b/lib/dropin.c @@ -1,7 +1,7 @@ /* dropin.c -- a set of drop-in replacements for libc functions Copyright (C) 2000-2005 Ivo Timmermans, - 2000-2009 Guus Sliepen + 2000-2011 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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;