diff --git a/unit/test-lib.c b/unit/test-lib.c
index 8b039cb..ef0cffc 100644
--- a/unit/test-lib.c
+++ b/unit/test-lib.c
#include <stdlib.h>
#include <errno.h>
+#include "src/shared/util.h"
+
#include "lib/sdp.h"
#include "lib/sdp_lib.h"
uint64_t test = 0x123456789abcdef;
g_assert(ntoh64(test) == be64toh(test));
+ g_assert(ntoh64(test) == be64_to_cpu(test));
}
static void test_hton64(void)
uint64_t test = 0x123456789abcdef;
g_assert(hton64(test) == htobe64(test));
+ g_assert(hton64(test) == cpu_to_be64(test));
}
static void test_sdp_get_access_protos_valid(void)