[Dovecot] [PATCH] fix build error with HAVE_MODULES not set

Andrey Panin pazke at donpac.ru
Tue Jul 20 13:27:55 EEST 2004


Hello,

attached trivial patch (against 1.0-test28) fixes build error
with unset HAVE_MODULES. Error is caused by missing second
argument of module_dir_load() stub.

Please consider applying.

Best regards.

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke at donpac.ru		| PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -urpNX /usr/share/dontdiff dovecot-1.0-test28.vanilla/src/lib/module-dir.c dovecot-1.0-test28/src/lib/module-dir.c
--- dovecot-1.0-test28.vanilla/src/lib/module-dir.c	2004-05-31 01:07:59.000000000 +0400
+++ dovecot-1.0-test28/src/lib/module-dir.c	2004-07-18 20:04:26.000000000 +0400
@@ -150,7 +150,7 @@ void module_dir_unload(struct module *mo
 
 #else
 
-struct module *module_dir_load(const char *dir __attr_unused__)
+struct module *module_dir_load(const char *dir __attr_unused__, int require_init_funcs __attr_unused__)
 {
 	i_error("Dynamically loadable module support not built in");
 	return NULL;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040720/4052b699/attachment-0001.bin>


More information about the dovecot mailing list