Add `-internal` suffix to all internal header files
[babeltrace.git] / tests / lib / test_ctf_ir_ref.c
index 3726b44bd604f37a0fc45f7c984cfde2a326c145..f82c31458b97e3f2a59119dd7f52cf9e1b90549c 100644 (file)
@@ -30,7 +30,7 @@
 #include <babeltrace/ctf-ir/event.h>
 #include <babeltrace/ctf-ir/event-class.h>
 #include <babeltrace/object-internal.h>
-#include <babeltrace/compat/stdlib.h>
+#include <babeltrace/compat/stdlib-internal.h>
 #include <assert.h>
 #include "common.h"
 
@@ -306,6 +306,9 @@ static struct bt_ctf_trace *create_tc1(void)
                goto error;
        }
 
+       ret = bt_ctf_trace_set_native_byte_order(tc1,
+               BT_CTF_BYTE_ORDER_LITTLE_ENDIAN);
+       assert(ret == 0);
        sc1 = create_sc1();
        ok(sc1, "Create SC1");
        if (!sc1) {
This page took 0.025069 seconds and 4 git commands to generate.