Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754296AbXFWAEg (ORCPT ); Fri, 22 Jun 2007 20:04:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751508AbXFWAE0 (ORCPT ); Fri, 22 Jun 2007 20:04:26 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:55889 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751269AbXFWAEZ (ORCPT ); Fri, 22 Jun 2007 20:04:25 -0400 Date: Fri, 22 Jun 2007 17:04:44 -0700 (PDT) Message-Id: <20070622.170444.92252701.davem@davemloft.net> To: satyam.sharma@gmail.com Cc: ysato@users.sourceforge.jp, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] inetdevice.h must include sysctl.h From: David Miller In-Reply-To: References: X-Mailer: Mew version 5.1.52 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 24 From: "Satyam Sharma" Date: Sat, 23 Jun 2007 05:26:52 +0530 > [PATCH] include sysctl.h from inetdevice.h > > When CONFIG_INET=y and CONFIG_SYSCTL=n: > > In file included from net/core/netpoll.c:16: > include/linux/inetdevice.h:15: error: > '__NET_IPV4_CONF_MAX' undeclared here (not in a function) > make[2]: *** [net/core/netpoll.o] Error 1 > make[1]: *** [net/core] Error 2 > make: *** [net] Error 2 > > So #include sysctl.h from inetdevice.h. > > Signed-off-by: Satyam Sharma Patch applied, thank you. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/