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' ```
Этот коммит содержится в:
1 родитель
52654e2301
Коммит
1786c0268b
1 file changed
+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;
|
||||
|
||||
Reference in new issue
Block a user