From patchwork Sun Aug 4 14:57:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_K=2E_H=C3=BCttel?= X-Patchwork-Id: 13752657 X-Patchwork-Delegate: stephen@networkplumber.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C441EA934 for ; Sun, 4 Aug 2024 14:58:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722783497; cv=none; b=WsTrimjFl7sovOaoffmrThb5qI/212PJ+XFQDzIhZ8ophmvgOscdVAOeyUEEl/CFYpZN/OawaDvCkTUUtiOKYhQVff6UJdvczPJzxlualk2GwZGx6//VRNN2lHGvvpUr89gcOKYiAeck8tjmjhMdiXrh7hv3Lg8YJgm79ikrGYY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722783497; c=relaxed/simple; bh=Oge7P5fNOxwc9EQ8ymZ3OcxKTjCJ0CGsTrkPkBfB1FA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=nBUeFMWXUD3y6hyoLjR1qGZ3WV6WrPBIH/41mDYbTZPTkAvfu2Rn4K7h2NESsBsp0uz9npmhyXHWAqBHdGoD449lD+Oe05/dr4SHP+0ESCPdd9bjfNi84xNYNSQ3p/wspRgi0MNrE3OCqc8Rq0eECAkL4s5+/CopJ9KKY2Xcv0o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org From: =?utf-8?q?Andreas_K=2E_H=C3=BCttel?= To: stephen@networkplumber.org, netdev@vger.kernel.org Cc: base-system@gentoo.org, =?utf-8?q?Andreas_K=2E_H=C3=BCttel?= Subject: [PATCH iproute2] libnetlink.h: Include explicitly for musl Date: Sun, 4 Aug 2024 16:57:46 +0200 Message-ID: <20240804145809.936544-1-dilfridge@gentoo.org> X-Mailer: git-send-email 2.44.2 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: dsahern@gmail.com The code added in 976dca372 uses h2be64, defined in endian.h. While this is pulled in around some corners for glibc (see below), that's not the case for musl and an explicit include is required. . /usr/include/libmnl/libmnl.h .. /usr/include/sys/socket.h ... /usr/include/bits/socket.h .... /usr/include/sys/types.h ..... /usr/include/endian.h Bug: https://bugs.gentoo.org/936234 Signed-off-by: Andreas K. Hüttel --- This time also to the netdev list, sorry... --- include/libnetlink.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libnetlink.h b/include/libnetlink.h index 30f0c2d2..7074e913 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -4,6 +4,7 @@ #include #include +#include #include #include #include