From patchwork Mon May 22 13:27:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 765414 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wWfc94fWfz9s4q for ; Mon, 22 May 2017 23:28:09 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759664AbdEVN2H (ORCPT ); Mon, 22 May 2017 09:28:07 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:41566 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759594AbdEVN2G (ORCPT ); Mon, 22 May 2017 09:28:06 -0400 Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id 1C73D440367; Mon, 22 May 2017 16:28:04 +0300 (IDT) From: Baruch Siach To: netdev@vger.kernel.org Cc: Stephen Hemminger , Baruch Siach Subject: [PATCH 1/2] ip: include libc headers first Date: Mon, 22 May 2017 16:27:53 +0300 Message-Id: <8afdd8babb9e82bcfde78e851b24b698436a6f9f.1495459674.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.11.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Including libc headers first helps as a workaround to redefinition of struct ethhdr with a suitably patched musl libc that suppresses the kernel if_ether.h. Signed-off-by: Baruch Siach --- ip/iplink_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c index 818b43c89b5b..cccdec1c203a 100644 --- a/ip/iplink_bridge.c +++ b/ip/iplink_bridge.c @@ -13,9 +13,9 @@ #include #include #include +#include #include #include -#include #include #include "rt_names.h"