From patchwork Wed Feb 22 22:38:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dmitry V. Levin" X-Patchwork-Id: 731335 X-Patchwork-Delegate: davem@davemloft.net 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 3vTC4L4mRVz9rxm for ; Thu, 23 Feb 2017 09:40:18 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933837AbdBVWjt (ORCPT ); Wed, 22 Feb 2017 17:39:49 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:46970 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932495AbdBVWii (ORCPT ); Wed, 22 Feb 2017 17:38:38 -0500 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 5714772DF20; Thu, 23 Feb 2017 01:38:26 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 463E87CCB1E; Thu, 23 Feb 2017 01:38:26 +0300 (MSK) Date: Thu, 23 Feb 2017 01:38:26 +0300 From: "Dmitry V. Levin" To: "David S. Miller" Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] uapi: fix linux/llc.h userspace compilation error Message-ID: <20170222223826.GB14311@altlinux.org> Mime-Version: 1.0 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Include to fix the following linux/llc.h userspace compilation error: /usr/include/linux/llc.h:26:27: error: 'IFHWADDRLEN' undeclared here (not in a function) unsigned char sllc_mac[IFHWADDRLEN]; Signed-off-by: Dmitry V. Levin --- include/uapi/linux/llc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/llc.h b/include/uapi/linux/llc.h index 9c987a4..a6c17f6 100644 --- a/include/uapi/linux/llc.h +++ b/include/uapi/linux/llc.h @@ -14,6 +14,7 @@ #define _UAPI__LINUX_LLC_H #include +#include /* For IFHWADDRLEN. */ #define __LLC_SOCK_SIZE__ 16 /* sizeof(sockaddr_llc), word align. */ struct sockaddr_llc {