diff options
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r-- | test/syscalls/linux/raw_socket_ipv4.cc | 3 | ||||
-rw-r--r-- | test/syscalls/linux/socket_ip_tcp_generic.cc | 2 | ||||
-rw-r--r-- | test/syscalls/linux/socket_ip_tcp_udp_generic.cc | 2 | ||||
-rw-r--r-- | test/syscalls/linux/socket_ip_udp_generic.cc | 2 | ||||
-rw-r--r-- | test/syscalls/linux/tcp_socket.cc | 3 |
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> |