From patchwork Mon Feb 22 11:34:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loganaden Velvindron X-Patchwork-Id: 586121 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 E5D73140BA7 for ; Mon, 22 Feb 2016 23:01:43 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=opendkim.org header.i=@opendkim.org header.b=AO0nhRdY; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754809AbcBVMBj (ORCPT ); Mon, 22 Feb 2016 07:01:39 -0500 Received: from ns1.qubic.net ([208.69.177.116]:59413 "EHLO mx.elandsys.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754556AbcBVMBi (ORCPT ); Mon, 22 Feb 2016 07:01:38 -0500 X-Greylist: delayed 1588 seconds by postgrey-1.27 at vger.kernel.org; Mon, 22 Feb 2016 07:01:38 EST Received: from mx.elandsys.com (IDENT:logan@localhost [127.0.0.1]) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id u1MBYm1Z026387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Feb 2016 03:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1456140889; x=1456227289; bh=c5zzXNqzHT17tYIbDbD4NlOu6RifmfKd3KyQuLlY+Rw=; h=Date:From:To:Subject; b=AO0nhRdYDCm+Wgk/U6c/ZmGDQ/N80IthqlHB9iZSzmOHqThxGB4fCbSG6wxiRlZJY 6KnY22Cw7Gg+8FodSCMyKHPPnJjwwUemac7rsvjAAkGFWLBh6l2gIZXoROkzn5rT2l 1USPkA/1XAQIbNmAIVoLzXytm8l1rfFCTtytFzlQ= Received: (from logan@localhost) by mx.elandsys.com (8.14.5/8.14.5/Submit) id u1MBYmM3000893 for netdev@vger.kernel.org; Mon, 22 Feb 2016 03:34:48 -0800 (PST) X-Authentication-Warning: mx.elandsys.com: logan set sender to logan@hackers.mu using -f Date: Mon, 22 Feb 2016 03:34:48 -0800 From: Loganaden Velvindron To: netdev@vger.kernel.org Subject: [PATCH] iproute2: Fix musl compatibility Message-ID: <20160222113447.GA10262@mx.elandsys.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Don't redefine in6_addr due to including linux/in6.h and also fix the case of MAXPATHLEN constant not found. (Original patch from VoidLinux) Signed-off-by: Loganaden Velvindron --- include/linux/if_bridge.h | 1 - include/linux/netfilter.h | 2 -- include/linux/xfrm.h | 1 - include/utils.h | 1 + 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/linux/if_bridge.h b/include/linux/if_bridge.h index ee197a3..f823aa4 100644 --- a/include/linux/if_bridge.h +++ b/include/linux/if_bridge.h @@ -15,7 +15,6 @@ #include #include -#include #define SYSFS_BRIDGE_ATTR "bridge" #define SYSFS_BRIDGE_FDB "brforward" diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index b71b4c9..3e4e6ae 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -4,8 +4,6 @@ #include #include -#include -#include /* Responses from hook functions. */ #define NF_DROP 0 diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index b8f5451..a9761a5 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h @@ -1,7 +1,6 @@ #ifndef _LINUX_XFRM_H #define _LINUX_XFRM_H -#include #include /* All of the structures in this file may not change size as they are diff --git a/include/utils.h b/include/utils.h index c43427c..debcdde 100644 --- a/include/utils.h +++ b/include/utils.h @@ -1,6 +1,7 @@ #ifndef __UTILS_H__ #define __UTILS_H__ 1 +#include /* MAXPATHLEN */ #include #include #include