netlink: make snl(3) headers self-contained.

This commit is contained in:
Alexander V. Chernikov 2022-12-23 15:52:33 +00:00
parent c9313a0bad
commit 3e38754131
2 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,10 @@
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netlink/netlink.h>
#define _roundup2(x, y) (((x)+((y)-1))&(~((y)-1)))

View File

@ -28,6 +28,7 @@
#define _NETLINK_NETLINK_SNL_ROUTE_H_
#include <netlink/netlink_snl.h>
#include <netlink/netlink_route.h>
#include <netinet/in.h>
/*