Module: sip-router Branch: master Commit: feef2d2e0bdbc5232138e0308e8e1cd9daf0a4ab URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=feef2d2e...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@iptel.org Date: Mon Mar 16 16:54:44 2009 +0100
Include dlfcn.h for RTLD_NOW and friends.
There is a test in sr_module.h which tests whether the macro RTLD_NOW is defined and defines it to DL_LAZY if not. The header file did not include dlfcn.h which defines the macro RTLD_NOW, so as a result it was always re-defined to DL_LAZY.
---
sr_module.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sr_module.h b/sr_module.h index 0078f25..bdf64de 100644 --- a/sr_module.h +++ b/sr_module.h @@ -58,6 +58,8 @@ #ifndef sr_module_h #define sr_module_h
+#include <dlfcn.h> + #include "parser/msg_parser.h" /* for sip_msg */ #include "version.h" #include "rpc.h"