Port: Add compat for mkdtemp
[babeltrace.git] / tests / lib / test_ctf_writer.c
index cef541234a50d0cae03e81eb765ca658d15471d0..ce656b318c3320740bebbe0241a73de97750508c 100644 (file)
@@ -28,7 +28,7 @@
 #include <babeltrace/ctf-writer/event-fields.h>
 #include <babeltrace/ctf/events.h>
 #include <unistd.h>
-#include <stdlib.h>
+#include <babeltrace/compat/stdlib.h>
 #include <stdio.h>
 #include <sys/utsname.h>
 #include <babeltrace/compat/limits.h>
@@ -728,7 +728,7 @@ int main(int argc, char **argv)
 
        plan_no_plan();
 
-       if (!mkdtemp(trace_path)) {
+       if (!bt_mkdtemp(trace_path)) {
                perror("# perror");
        }
 
This page took 0.022405 seconds and 4 git commands to generate.