#include <unistd.h>
#include <ust-dlfcn.h>
-#include <lttng/ust-elf.h>
+#include <ust-elf.h>
#include <lttng/ust-events.h>
#include <ust-helper.h>
#include "usterr-signal-safe.h"
+#include "../liblttng-ust/ust-events-internal.h"
+
/* Include link.h last else it conflicts with ust-dlfcn. */
#include <link.h>