Adding #include <dlfcn.h> in profiler.cc to pass build (#1632)

w/o the header, experience following errors:
```
error: use of undeclared identifier 'RTLD_NOW'
error: use of undeclared identifier 'RTLD_LOCAL'
error: use of undeclared identifier 'dlerror'
error: use of undeclared identifier 'dlsym'
error: use of undeclared identifier 'dlclose'
```

[ROCm/rccl commit: 1786c0268b]
这个提交包含在:
Dingming Wu 编写, GitHub 于 2025-04-10 08:48:18 -07:00 提交
1 父节点 f29d59aa00
当前提交 63c6180130
1 个文件已更改
+1
+1
查看文件
@@ -11,6 +11,7 @@
#include "utils.h"
#include "proxy.h"
#include "profiler.h"
#include <dlfcn.h>
static pthread_mutex_t profilerLock = PTHREAD_MUTEX_INITIALIZER;
static int profilerPluginRefCount;