meta-openembedded/meta-oe/recipes-support/libteam/libteam/0002-teamd-Re-adjust-include-header-order.patch
Khem Raj 9e91609444
libteam: Upgrade to 1.32 release
Drop upstreamed patches
Fix build with GCC-14 on musl systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-12 21:51:32 -07:00

36 lines
902 B
Diff

From a5b945cb3c62a18dcd7047f62707c09076c4e48b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 12 Jul 2017 15:35:51 -0700
Subject: [PATCH 2/2] teamd: Re-adjust include header order
So it gets the library definition before kernel definition
usr/include/ne
tinet/if_ether.h:101:8: error: redefinition of 'struct ethhdr'
struct ethhdr {
^~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending
teamd/teamd_runner_lacp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/teamd/teamd_runner_lacp.c
+++ b/teamd/teamd_runner_lacp.c
@@ -23,12 +23,12 @@
#include <unistd.h>
#include <limits.h>
#include <sys/ioctl.h>
+#include <net/ethernet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>
#include <team.h>
#include <private/misc.h>
-#include <net/ethernet.h>
#include "teamd.h"
#include "teamd_config.h"