diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-03-11 13:11:50 -0400 |
---|---|---|
committer | Steve Dickson <steved@dickson.boston.devel.redhat.com> | 2008-03-11 13:11:50 -0400 |
commit | ab26cd622e1a5ef22be2df1f3176158b1505df30 (patch) | |
tree | ee919fbd34a3e12763daf49be164db7c8c008a71 /utils/mount/nfsmount.c | |
parent | 9c1e19f1c6ba13e08c51c21db6f21ef1e203b37c (diff) | |
download | nfs-utils-ab26cd622e1a5ef22be2df1f3176158b1505df30.tar.gz nfs-utils-ab26cd622e1a5ef22be2df1f3176158b1505df30.tar.xz nfs-utils-ab26cd622e1a5ef22be2df1f3176158b1505df30.zip |
Recently #include directives for autoconf's config.h file were added in
utils/mount/error.c and utils/mount/mount.c, but appropriate HAVE_CONFIG_H
checks were not added at the same time.
In addition, several other .c files under utils/mount reference
autoconf-generated HAVE_ macros, but don't appear to include config.h
Also, Heinz-Ado Arnolds <arnolds@MPA-Garching.MPG.DE> reports that this
patch is needed to ensure START_STATD is properly defined in
utils/mount/network.c. Otherwise start_statd() is always a no-op, even if
the configure script defines an appropriate statd start-up script.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Heinz-Ado Arnolds <arnolds@MPA-Garching.MPG.DE>
Signed-off-by: Steve Dickson <steved@dickson.boston.devel.redhat.com>
Diffstat (limited to 'utils/mount/nfsmount.c')
-rw-r--r-- | utils/mount/nfsmount.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/mount/nfsmount.c b/utils/mount/nfsmount.c index f2e0e00..d1d43c6 100644 --- a/utils/mount/nfsmount.c +++ b/utils/mount/nfsmount.c @@ -35,6 +35,10 @@ * nfsmount.c,v 1.1.1.1 1993/11/18 08:40:51 jrs Exp */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <ctype.h> #include <unistd.h> #include <stdio.h> |