windows: Provide a cancellable usleep(), but with ms resolution only
[strongswan.git] / src / libstrongswan / utils / windows.h
index afa5242..8e6fd80 100644 (file)
@@ -86,6 +86,11 @@ static inline int sleep(unsigned int seconds)
 }
 
 /**
+ * Replacement of usleep(3), cancellable, ms resolution only
+ */
+int usleep(useconds_t usec);
+
+/**
  * strdup(3), the Windows variant can't free(strdup("")) and others
  */
 #define strdup strdup_windows