From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9502AC433EF for ; Sat, 14 May 2022 16:42:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234305AbiENQmi (ORCPT ); Sat, 14 May 2022 12:42:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232727AbiENQmh (ORCPT ); Sat, 14 May 2022 12:42:37 -0400 X-Greylist: delayed 536 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 14 May 2022 09:42:32 PDT Received: from mail1.systemli.org (mail1.systemli.org [IPv6:2a11:7980:3::36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B04ACBC90 for ; Sat, 14 May 2022 09:42:31 -0700 (PDT) From: Nick Hainke DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemli.org; s=default; t=1652546012; bh=6TAVRkpkmPtc5PFEsIJF/CNoa4h4IDdK4CtPfIVRcBo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JxMCj2XzCfWYfYHVgy6TSW0H73clO+u8RxABlWGb25v/3rZ+VRFz7LKoye1NYnLUQ P0tCu3WbHAARIR/91OQJpP0pIAbWwpUU0xmEp+W1NTovpNmrRSW9G+uVBzi2mflKrQ E1+Y0BXZXJLkZosILDlhXaiRX8EEEMDB9OWvCUciPjH3rhzOoFB/1/PVlxIDtSyqNN G8WVA8NpnQPLKp+o4OuIG/5Js3oGU0FbfbFVU7KW+X6/Q6E7udBp1yk2gH8V9s1dDa hzb/eJFZtrmBiVrAbUYWs9ThK+/d/0xDKUo7p1Xw0x3f/u6AwAnfY9DlFmAV6W5toF qVwykaeFCqd2w== To: netfilter-devel@vger.kernel.org Cc: Nick Hainke Subject: [PATCH iptables 2/2] xshared: fix compilation with musl Date: Sat, 14 May 2022 18:33:25 +0200 Message-Id: <20220514163325.54266-2-vincent@systemli.org> In-Reply-To: <20220514163325.54266-1-vincent@systemli.org> References: <20220514163325.54266-1-vincent@systemli.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Gcc complains about missing types. Include to fix it. Fixes errors in the form of: In file included from xtables-legacy-multi.c:5: xshared.h:83:56: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 83 | set_option(unsigned int *options, unsigned int option, u_int16_t *invflg, | ^~~~~~~~~ | uint16_t make[6]: *** [Makefile:712: xtables_legacy_multi-xtables-legacy-multi.o] Error 1 Signed-off-by: Nick Hainke --- iptables/xshared.h | 1 + 1 file changed, 1 insertion(+) diff --git a/iptables/xshared.h b/iptables/xshared.h index 14568bb0..9d2fef90 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include -- 2.36.1