From: Chuck Lever Subject: [PATCH 05/16] sm-notify command: include Date: Thu, 04 Sep 2008 12:56:19 -0400 Message-ID: <20080904165619.1471.69831.stgit@manray.1015granger.net> References: <20080904165122.1471.24485.stgit@manray.1015granger.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Cc: neilb@suse.de, linux-nfs@vger.kernel.org To: steved@redhat.com Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:47961 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752707AbYIDQ5N (ORCPT ); Thu, 4 Sep 2008 12:57:13 -0400 In-Reply-To: <20080904165122.1471.24485.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: Clean up: Include config.h as other source files do; instead of using "config.h" use the HAVE_CONFIG_H macro and include . Signed-off-by: Chuck Lever --- utils/statd/sm-notify.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/statd/sm-notify.c b/utils/statd/sm-notify.c index b75f11b..5a02394 100644 --- a/utils/statd/sm-notify.c +++ b/utils/statd/sm-notify.c @@ -4,6 +4,10 @@ * Copyright (C) 2004-2006 Olaf Kirch */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -24,8 +28,6 @@ #include #include -#include "config.h" - #ifndef BASEDIR # ifdef NFS_STATEDIR # define BASEDIR NFS_STATEDIR