1From 267f24839536234ca621d4fd0466d3b57cb6dccd Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?Pavel=20=C5=A0imerda?= <code@simerda.eu> 3Date: Tue, 12 Jan 2021 04:41:56 +0100 4Subject: [PATCH] fix build on OpenWRT/musl-libc 5MIME-Version: 1.0 6Content-Type: text/plain; charset=UTF-8 7Content-Transfer-Encoding: 8bit 8 9Signed-off-by: Pavel Šimerda <code@simerda.eu> 10Signed-off-by: Jiri Pirko <jiri@nvidia.com> 11--- 12 teamd/teamd_runner_lacp.c | 2 -- 13 utils/teamnl.c | 1 + 14 2 files changed, 1 insertion(+), 2 deletions(-) 15 16diff --git a/teamd/teamd_runner_lacp.c b/teamd/teamd_runner_lacp.c 17index 9437f05..f524be2 100644 18--- a/teamd/teamd_runner_lacp.c 19+++ b/teamd/teamd_runner_lacp.c 20@@ -23,9 +23,7 @@ 21 #include <unistd.h> 22 #include <limits.h> 23 #include <sys/ioctl.h> 24-#include <linux/if_ether.h> 25 #include <sys/socket.h> 26-#include <linux/netdevice.h> 27 #include <netinet/in.h> 28 #include <errno.h> 29 #include <team.h> 30diff --git a/utils/teamnl.c b/utils/teamnl.c 31index c53345d..ec2b435 100644 32--- a/utils/teamnl.c 33+++ b/utils/teamnl.c 34@@ -24,6 +24,7 @@ 35 #include <getopt.h> 36 #include <errno.h> 37 #include <sys/signalfd.h> 38+#include <sys/select.h> 39 #include <signal.h> 40 #include <unistd.h> 41 #include <team.h> 42