acl: add missing byteswap header for musl 63/40763/4
authorEric Sun <[email protected]>
Wed, 2 Feb 2022 19:12:13 +0000 (11:12 -0800)
committerAndrew Yourtchenko <[email protected]>
Thu, 2 May 2024 10:46:05 +0000 (10:46 +0000)
On glibc this builds fine; on musl the byteswap header doesn't seem to be
included properly. This change adds it, fixing the build.

Type: fix
Change-Id: I402812409395d471357b6317084774afba39548f
Signed-off-by: Eric Sun <[email protected]>
Signed-off-by: Pierre Pfister <[email protected]>
src/plugins/acl/acl_test.c

index fddb3d5..8404689 100644 (file)
@@ -18,6 +18,8 @@
  *------------------------------------------------------------------
  */
 
+#include <byteswap.h>
+
 #include <vat/vat.h>
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>