Fix declaration of usleep().
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 17 Jul 2011 16:02:56 +0000 (18:02 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 17 Jul 2011 16:02:56 +0000 (18:02 +0200)
src/dropin.h

index 7b0050d..3617b70 100644 (file)
@@ -42,7 +42,7 @@ extern int gettimeofday(struct timeval *, void *);
 #endif
 
 #ifndef HAVE_USLEEP
-extern void usleep(long long usec);
+extern int usleep(long long usec);
 #endif
 
 #endif                                                 /* __DROPIN_H__ */