Browse code

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.

Jan Janak authored on 16/03/2009 15:54:44
Showing 1 changed files
... ...
@@ -58,6 +58,8 @@
58 58
 #ifndef sr_module_h
59 59
 #define sr_module_h
60 60
 
61
+#include <dlfcn.h>
62
+
61 63
 #include "parser/msg_parser.h" /* for sip_msg */
62 64
 #include "version.h"
63 65
 #include "rpc.h"