From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbdBOUEe (ORCPT ); Wed, 15 Feb 2017 15:04:34 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:48806 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791AbdBOUEd (ORCPT ); Wed, 15 Feb 2017 15:04:33 -0500 Date: Wed, 15 Feb 2017 23:04:31 +0300 From: "Dmitry V. Levin" To: David Teigland Cc: linux-kernel@vger.kernel.org Subject: [PATCH] uapi: fix linux/dlm_netlink.h userspace compilation error Message-ID: <20170215200431.GC1028@altlinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include to fix the following linux/dlm_netlink.h userspace compilation error: /usr/include/linux/dlm_netlink.h:35:21: error: 'DLM_RESNAME_MAXLEN' undeclared here (not in a function) char resource_name[DLM_RESNAME_MAXLEN]; Signed-off-by: Dmitry V. Levin --- include/uapi/linux/dlm_netlink.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/dlm_netlink.h b/include/uapi/linux/dlm_netlink.h index 647c8ef..ad60964 100644 --- a/include/uapi/linux/dlm_netlink.h +++ b/include/uapi/linux/dlm_netlink.h @@ -10,6 +10,7 @@ #define _DLM_NETLINK_H #include +#include /* For DLM_RESNAME_MAXLEN. */ enum { DLM_STATUS_WAITING = 1, -- ldv