From ab26cd622e1a5ef22be2df1f3176158b1505df30 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Tue, 11 Mar 2008 13:11:50 -0400 Subject: 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 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 Cc: Heinz-Ado Arnolds Signed-off-by: Steve Dickson --- utils/mount/error.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'utils/mount/error.c') diff --git a/utils/mount/error.c b/utils/mount/error.c index 10d4ed2..23a91ff 100644 --- a/utils/mount/error.c +++ b/utils/mount/error.c @@ -23,7 +23,10 @@ * + Proper support for internationalization */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- cgit