From 896ac2332bbbb8f7aa09c977adc101ed81dfd126 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 31 Mar 2007 08:15:43 +0200 Subject: [PATCH] nut plugin: Fix building without the `upsclient' library. --- src/nut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nut.c b/src/nut.c index 73a33185..d839ba49 100644 --- a/src/nut.c +++ b/src/nut.c @@ -330,7 +330,6 @@ static int nut_read (void) return ((success != 0) ? 0 : -1); } /* int nut_read */ -#endif /* NUT_HAVE_READ */ static int nut_shutdown (void) { @@ -347,6 +346,7 @@ static int nut_shutdown (void) return (0); } /* int nut_shutdown */ +#endif /* NUT_HAVE_READ */ void module_register (modreg_e load) { -- 2.30.2