cuserid: support invocation with a null pointer argument
[musl] / src / unistd / usleep.c
index e386901..6c96652 100644 (file)
@@ -1,7 +1,8 @@
+#define _GNU_SOURCE
 #include <unistd.h>
 #include <time.h>
 
-int usleep(useconds_t useconds)
+int usleep(unsigned useconds)
 {
        struct timespec tv = {
                .tv_sec = useconds/1000000,