Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Id76539961e28a90bb7083a7a83eafd6d966cfb39
#define _LGPL_SOURCE
#include <assert.h>
-#include <byteswap.h>
#include <errno.h>
#include <lttng/ust-events.h>
+#include <lttng/ust-endian.h>
#include <usterr-signal-safe.h>
#include "../libmsgpack/msgpack.h"
#define _LGPL_SOURCE
#include <stddef.h>
#include <stdint.h>
-#include <byteswap.h>
#include <lttng/urcu/pointer.h>
#include <lttng/ust-endian.h>
#else /* __KERNEL__ */
-#include <endian.h>
+#include <lttng/ust-endian.h>
#include <stdio.h>
#include <string.h>