summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/udp_socket_test_cases.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/udp_socket_test_cases.cc')
-rw-r--r--test/syscalls/linux/udp_socket_test_cases.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/syscalls/linux/udp_socket_test_cases.cc b/test/syscalls/linux/udp_socket_test_cases.cc
index 57b1a357c..740c7986d 100644
--- a/test/syscalls/linux/udp_socket_test_cases.cc
+++ b/test/syscalls/linux/udp_socket_test_cases.cc
@@ -21,6 +21,10 @@
#include <sys/socket.h>
#include <sys/types.h>
+#ifndef SIOCGSTAMP
+#include <linux/sockios.h>
+#endif
+
#include "gtest/gtest.h"
#include "absl/base/macros.h"
#include "absl/time/clock.h"