]> tinc-vpn.org Git - tinc/blobdiff - src/dropin.h
Replace usleep() with nanosleep().
[tinc] / src / dropin.h
index 5601a312fd26ec7288d3e71c4b9990b472da2c35..fff2d41385c32e6010a633fbd6a104783f545bc2 100644 (file)
@@ -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