Use usleep() instead of sleep(), MinGW complained.
[tinc] / lib / dropin.h
index 22fe36d..dc7dbee 100644 (file)
@@ -42,7 +42,7 @@ extern int gettimeofday(struct timeval *, void *);
 #endif
 
 #ifndef HAVE_USLEEP
 #endif
 
 #ifndef HAVE_USLEEP
-extern int usleep(long);
+extern int usleep(long long);
 #endif
 
 #endif                                                 /* __DROPIN_H__ */
 #endif
 
 #endif                                                 /* __DROPIN_H__ */