diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-09-26 13:20:49 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-09-26 13:20:49 -0400 |
commit | 37130ec4041bd703d706207d77b4398ea252be5a (patch) | |
tree | 4497aea3ae4a6851e3c894d4475809302bcf8645 /utils/statd | |
parent | 44d18e8887cd2fdcf4996ddcbb827ed19aca8b2d (diff) | |
download | nfs-utils-37130ec4041bd703d706207d77b4398ea252be5a.tar.gz nfs-utils-37130ec4041bd703d706207d77b4398ea252be5a.tar.xz nfs-utils-37130ec4041bd703d706207d77b4398ea252be5a.zip |
sm-notify command: include <config.h>
Clean up: Include config.h as other source files do; instead of using
"config.h" use the HAVE_CONFIG_H macro and include <config.h>.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/statd')
-rw-r--r-- | 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 <okir@suse.de> */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <sys/types.h> #include <sys/socket.h> #include <sys/stat.h> @@ -24,8 +28,6 @@ #include <errno.h> #include <grp.h> -#include "config.h" - #ifndef BASEDIR # ifdef NFS_STATEDIR # define BASEDIR NFS_STATEDIR |