summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/networking/timestamping/rxtimestamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/networking/timestamping/rxtimestamp.c')
-rw-r--r--tools/testing/selftests/networking/timestamping/rxtimestamp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/networking/timestamping/rxtimestamp.c b/tools/testing/selftests/networking/timestamping/rxtimestamp.c
index dd4162fc0419..6dee9e636a95 100644
--- a/tools/testing/selftests/networking/timestamping/rxtimestamp.c
+++ b/tools/testing/selftests/networking/timestamping/rxtimestamp.c
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <sys/time.h>
#include <sys/socket.h>