aboutsummaryrefslogtreecommitdiffstats
path: root/vlib/vlib/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'vlib/vlib/buffer.h')
-rw-r--r--vlib/vlib/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vlib/vlib/buffer.h b/vlib/vlib/buffer.h
index 4ede684aa4b..5f1e62f08c9 100644
--- a/vlib/vlib/buffer.h
+++ b/vlib/vlib/buffer.h
@@ -56,7 +56,7 @@
#define VLIB_BUFFER_PRE_DATA_SIZE __PRE_DATA_SIZE
#endif
-#ifdef CLIB_HAVE_VEC128
+#if defined (CLIB_HAVE_VEC128) || defined (__aarch64__)
typedef u8x16 vlib_copy_unit_t;
#else
typedef u64 vlib_copy_unit_t;