* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <error.h>
#include <dlfcn.h>
#include <stdlib.h>
if (getcpu_handle)
return;
- libname = lttng_secure_getenv("LTTNG_UST_GETCPU_PLUGIN");
+ libname = lttng_getenv("LTTNG_UST_GETCPU_PLUGIN");
if (!libname)
return;
getcpu_handle = dlopen(libname, RTLD_NOW);