summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2019-04-25 14:56:02 -0700
committerShentubot <shentubot@google.com>2019-04-25 14:57:06 -0700
commit72197810405a462386ded05d3c7c60c320289223 (patch)
treee36e9c45dbdf7c6ed2b46c675312a5748fa6a5da /test/syscalls
parent992b66e68887e87fd6ab8e6bbb8a46ed864f7a45 (diff)
s,sys/poll.h/,poll.h,g
See https://git.musl-libc.org/cgit/musl/tree/include/sys/poll.h PiperOrigin-RevId: 245312375 Change-Id: If749ae3f94ccedc82eb6b594b32155924a354b58
Diffstat (limited to 'test/syscalls')
-rw-r--r--test/syscalls/linux/raw_socket_ipv4.cc3
-rw-r--r--test/syscalls/linux/socket_ip_tcp_generic.cc2
-rw-r--r--test/syscalls/linux/socket_ip_tcp_udp_generic.cc2
-rw-r--r--test/syscalls/linux/socket_ip_udp_generic.cc2
-rw-r--r--test/syscalls/linux/tcp_socket.cc3
5 files changed, 7 insertions, 5 deletions
diff --git a/test/syscalls/linux/raw_socket_ipv4.cc b/test/syscalls/linux/raw_socket_ipv4.cc
index b13806dcb..8b8d032cb 100644
--- a/test/syscalls/linux/raw_socket_ipv4.cc
+++ b/test/syscalls/linux/raw_socket_ipv4.cc
@@ -16,10 +16,11 @@
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
+
#include <algorithm>
#include "gtest/gtest.h"
diff --git a/test/syscalls/linux/socket_ip_tcp_generic.cc b/test/syscalls/linux/socket_ip_tcp_generic.cc
index 2f45f01ec..54f00cd9b 100644
--- a/test/syscalls/linux/socket_ip_tcp_generic.cc
+++ b/test/syscalls/linux/socket_ip_tcp_generic.cc
@@ -16,9 +16,9 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
+#include <poll.h>
#include <stdio.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
diff --git a/test/syscalls/linux/socket_ip_tcp_udp_generic.cc b/test/syscalls/linux/socket_ip_tcp_udp_generic.cc
index 91d029985..525344fbc 100644
--- a/test/syscalls/linux/socket_ip_tcp_udp_generic.cc
+++ b/test/syscalls/linux/socket_ip_tcp_udp_generic.cc
@@ -14,9 +14,9 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
+#include <poll.h>
#include <stdio.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
diff --git a/test/syscalls/linux/socket_ip_udp_generic.cc b/test/syscalls/linux/socket_ip_udp_generic.cc
index 432017b12..ac15154f2 100644
--- a/test/syscalls/linux/socket_ip_udp_generic.cc
+++ b/test/syscalls/linux/socket_ip_udp_generic.cc
@@ -16,9 +16,9 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
+#include <poll.h>
#include <stdio.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
diff --git a/test/syscalls/linux/tcp_socket.cc b/test/syscalls/linux/tcp_socket.cc
index 64fdd068c..9d8b4ecc7 100644
--- a/test/syscalls/linux/tcp_socket.cc
+++ b/test/syscalls/linux/tcp_socket.cc
@@ -15,9 +15,10 @@
#include <fcntl.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/socket.h>
#include <unistd.h>
+
#include <limits>
#include <vector>