浏览代码

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 16 年之前
父节点
当前提交
feef2d2e0b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      sr_module.h

+ 2 - 0
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"