X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fdropin.h;h=fff2d41385c32e6010a633fbd6a104783f545bc2;hb=b5b04910b928c63a31a0859f04bf067ca9bd1cc2;hp=abac29094ef1f5360183fe0c89182d1f8618e55e;hpb=fb1e69072e9c1dda35033cc2785c27e324a2abda;p=tinc diff --git a/src/dropin.h b/src/dropin.h index abac2909..fff2d413 100644 --- a/src/dropin.h +++ b/src/dropin.h @@ -1,7 +1,7 @@ /* dropin.h -- header file for dropin.c Copyright (C) 2000-2005 Ivo Timmermans, - 2000-2011 Guus Sliepen + 2000-2013 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 @@ -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