summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/nanosleep.c')
-rw-r--r--tools/testing/selftests/timers/nanosleep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/timers/nanosleep.c b/tools/testing/selftests/timers/nanosleep.c
index 8a3c29de7d49..ff942ff7c9b3 100644
--- a/tools/testing/selftests/timers/nanosleep.c
+++ b/tools/testing/selftests/timers/nanosleep.c
@@ -19,6 +19,7 @@
* GNU General Public License for more details.
*/
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>