]> git.meshlink.io Git - meshlink/blobdiff - src/dropin.h
Use usleep() instead of sleep(), MinGW complained.
[meshlink] / src / dropin.h
index a3a22e3fa0cd56feeee3733246a71b8c1230254c..7b0050d699080d093861e79015be6a275ebb22b4 100644 (file)
@@ -41,4 +41,8 @@ extern int vasprintf(char **, const char *, va_list ap);
 extern int gettimeofday(struct timeval *, void *);
 #endif
 
+#ifndef HAVE_USLEEP
+extern void usleep(long long usec);
+#endif
+
 #endif                                                 /* __DROPIN_H__ */