summaryrefslogtreecommitdiffstats
path: root/src/plugins/acl
diff options
context:
space:
mode:
authorEric Sun <esun@meraki.com>2022-02-02 11:12:13 -0800
committerAndrew Yourtchenko <ayourtch@gmail.com>2024-05-02 10:46:05 +0000
commitc2db8491e83274726629ce3dc38f64543661c8d8 (patch)
tree669bd1e320d8578fd3a9fdd59b4045404dc13ea5 /src/plugins/acl
parentd894438f0499db83a3182453547bd3accea4776f (diff)
acl: add missing byteswap header for musl
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 <esun@meraki.com> Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'src/plugins/acl')
-rw-r--r--src/plugins/acl/acl_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/acl/acl_test.c b/src/plugins/acl/acl_test.c
index fddb3d532ff..8404689dc06 100644
--- a/src/plugins/acl/acl_test.c
+++ b/src/plugins/acl/acl_test.c
@@ -18,6 +18,8 @@
*------------------------------------------------------------------
*/
+#include <byteswap.h>
+
#include <vat/vat.h>
#include <vlibapi/api.h>
#include <vlibmemory/api.h>