From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751576AbdBYNuq (ORCPT ); Sat, 25 Feb 2017 08:50:46 -0500 Received: from mail.us.es ([193.147.175.20]:34986 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751253AbdBYNuo (ORCPT ); Sat, 25 Feb 2017 08:50:44 -0500 Date: Sat, 25 Feb 2017 13:33:37 +0100 From: Pablo Neira Ayuso To: "Dmitry V. Levin" Cc: Jozsef Kadlecsik , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error Message-ID: <20170225123337.GA25870@salvia> References: <20170224002320.GA31010@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170224002320.GA31010@altlinux.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 24, 2017 at 03:23:20AM +0300, Dmitry V. Levin wrote: > Include like some of uapi/linux/netfilter/xt_*.h > headers do to fix the following linux/netfilter/xt_hashlimit.h > userspace compilation error: > > /usr/include/linux/netfilter/xt_hashlimit.h:90:12: error: 'NAME_MAX' undeclared here (not in a function) > char name[NAME_MAX]; Applied, thanks.