*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <error.h>
#include <dlfcn.h>
#include <stdlib.h>
if (clock_handle)
return;
- libname = lttng_secure_getenv("LTTNG_UST_CLOCK_PLUGIN");
+ libname = lttng_getenv("LTTNG_UST_CLOCK_PLUGIN");
if (!libname)
return;
clock_handle = dlopen(libname, RTLD_NOW);