mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user