X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fdropin.h;h=fff2d41385c32e6010a633fbd6a104783f545bc2;hp=5601a312fd26ec7288d3e71c4b9990b472da2c35;hb=b5b04910b928c63a31a0859f04bf067ca9bd1cc2;hpb=491839a81aba00d4af50b66563cedaac4fa7028c diff --git a/src/dropin.h b/src/dropin.h index 5601a312..fff2d413 100644 --- a/src/dropin.h +++ b/src/dropin.h @@ -41,8 +41,8 @@ extern int vasprintf(char **, const char *, va_list ap); extern int gettimeofday(struct timeval *, void *); #endif -#ifndef HAVE_USLEEP -extern int usleep(long long usec); +#ifndef HAVE_NANOSLEEP +extern int nanosleep(const struct timespec *req, struct timespec *rem); #endif #ifndef timeradd