diff --git a/base64-meta.c b/base64-meta.c
index 86785c3d7984ea5d3bcd2e5d57b1769df617d7a7..1c827db873786235e8dc85d34d8ca088edf9f258 100644
--- a/base64-meta.c
+++ b/base64-meta.c
@@ -24,5 +24,18 @@
 
 #include "base64.h"
 
+/* Same as the macros with the same name */
+static unsigned
+base64_encode_length(unsigned length)
+{
+  return BASE64_ENCODE_LENGTH(length);
+}
+
+static unsigned
+base64_decode_length(unsigned length)
+{
+  return BASE64_DECODE_LENGTH(length);
+}
+
 const struct nettle_armor nettle_base64
 = _NETTLE_ARMOR(base64, BASE64);