tests: include sys/socket.h before linux/if_arp.h

This is how it has to be accoding to the man page.

PiperOrigin-RevId: 281998068
This commit is contained in:
Andrei Vagin
2019-11-22 10:57:11 -08:00
committed by gVisor bot
parent c0f89eba6e
commit 4e27ba372e
@@ -15,6 +15,8 @@
#ifndef GVISOR_TEST_SYSCALLS_SOCKET_NETLINK_UTIL_H_
#define GVISOR_TEST_SYSCALLS_SOCKET_NETLINK_UTIL_H_
#include <sys/socket.h>
// socket.h has to be included before if_arp.h.
#include <linux/if_arp.h>
#include <linux/netlink.h>