From: Timo Sirainen Date: Fri, 30 May 2003 01:02:06 +0000 (+0300) Subject: All systems don't define RTLD_GLOBAL and RTLD_NOW. Default them to 0. X-Git-Tag: 1.1.alpha1~4581 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dadf0f5034bdc9a30b74e5d3d11a884ae04b8810;p=thirdparty%2Fdovecot%2Fcore.git All systems don't define RTLD_GLOBAL and RTLD_NOW. Default them to 0. --HG-- branch : HEAD --- diff --git a/src/lib/module-dir.c b/src/lib/module-dir.c index 4a58d8f008..e2a8757533 100644 --- a/src/lib/module-dir.c +++ b/src/lib/module-dir.c @@ -9,6 +9,14 @@ #include #include +#ifndef RTLD_GLOBAL +# define RTLD_GLOBAL 0 +#endif + +#ifndef RTLD_NOW +# define RTLD_NOW 0 +#endif + static void *get_symbol(const char *path, void *handle, const char *symbol) { const char *error;