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 7b0050d699080d093861e79015be6a275ebb22b4..3617b70e2b172083c83df9bf44213db3b2560a90 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__ */