diff options
author | Tom Jones <thj@freebsd.org> | 2024-01-30 16:49:38 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-03-15 17:48:08 +0000 |
commit | 8942e07332748658c74d365dee391b6611753e55 (patch) | |
tree | 2124980e16e6239f129cfcdda35f699ac1f9b59c /src/plugins/tracedump/graph_cli.c | |
parent | 39e7f2e650a65bac596a6fc968c9860a1496a5bf (diff) |
misc: Add platform specific header on FreeBSD
Type: improvement
Change-Id: Ia23414e87d64567d5124b8297315ed7a426c3651
Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src/plugins/tracedump/graph_cli.c')
-rw-r--r-- | src/plugins/tracedump/graph_cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/tracedump/graph_cli.c b/src/plugins/tracedump/graph_cli.c index e83aabaf1fe..6af4706f87d 100644 --- a/src/plugins/tracedump/graph_cli.c +++ b/src/plugins/tracedump/graph_cli.c @@ -16,7 +16,11 @@ */ #include <sys/socket.h> +#ifdef __linux__ #include <linux/if.h> +#else +#include <net/if.h> +#endif /* __linux__ */ #include <vnet/vnet.h> #include <vnet/plugin/plugin.h> |