work around AIX6.1 name space pollution rename mod_name to module_name
[samba.git] / source4 / lib / com / tables.c
index d9989ecdbe677f4617d6a3d313273aa752b10278..f56e1c3f1887671ff05c20cf79e2b8ea4d392c99 100644 (file)
@@ -19,7 +19,7 @@
 */
 
 #include "includes.h"
-#include "dlinklist.h"
+#include "../lib/util/dlinklist.h"
 #include "lib/com/com.h"
 #include "librpc/gen_ndr/ndr_misc.h"
 
@@ -51,16 +51,16 @@ static struct IUnknown *get_com_class_running(const struct GUID *clsid)
 
 static struct IUnknown *get_com_class_so(TALLOC_CTX *mem_ctx, const struct GUID *clsid)
 {
-       char *mod_name;
+       char *module_name;
        char *clsid_str;
        void *mod;
        get_class_object_function f;
 
        clsid_str = GUID_string(mem_ctx, clsid);
-       mod_name = talloc_asprintf(mem_ctx, "%s.so", clsid_str);
+       module_name = talloc_asprintf(mem_ctx, "%s.so", clsid_str);
        talloc_free(clsid_str);
 
-       mod = dlopen(mod_name, 0);
+       mod = dlopen(module_name, 0);
 
        if (!mod) {
                return NULL;