From 37130ec4041bd703d706207d77b4398ea252be5a Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Fri, 26 Sep 2008 13:20:49 -0400 Subject: [PATCH] sm-notify command: include 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 Signed-off-by: Steve Dickson --- utils/statd/sm-notify.c | 6 ++++-- 1 file 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 -- 2.39.2