* nanosleep.c: Include <sys/types.h> before sys/select.h, to avoid
[gnulib.git] / lib / nanosleep.c
index 62b9f85..9d725c6 100644 (file)
 
 #include <stdbool.h>
 #include <stdio.h>
+#include <sys/types.h>
 #if HAVE_SYS_SELECT_H
 # include <sys/select.h>
 #endif
-#include <sys/types.h>
 #include <signal.h>
 
 #if TIME_WITH_SYS_TIME