Cleanup: standardise include path
[lttng-ust.git] / liblttng-ust-dl / ust_dl.h
index b8cfe822b5c48bf3eaa2b2b3fd87981690322445..e43535e22c990637ada7906503e7c16d8137b9b0 100644 (file)
@@ -31,6 +31,7 @@ extern "C" {
  * SOFTWARE.
  */
 
+#include <stddef.h>
 #include <stdint.h>
 #include <unistd.h>
 
@@ -51,6 +52,7 @@ TRACEPOINT_EVENT(lttng_ust_dl, dlopen,
        )
 )
 
+#ifdef HAVE_DLMOPEN
 TRACEPOINT_EVENT(lttng_ust_dl, dlmopen,
        TP_ARGS(void *, ip, void *, baddr, Lmid_t, nsid,
                const char *, path, int, flags,
@@ -66,6 +68,7 @@ TRACEPOINT_EVENT(lttng_ust_dl, dlmopen,
                ctf_integer(uint8_t, has_debug_link, has_debug_link)
        )
 )
+#endif
 
 TRACEPOINT_EVENT(lttng_ust_dl, build_id,
        TP_ARGS(
This page took 0.023223 seconds and 4 git commands to generate.