aboutsummaryrefslogtreecommitdiffstats
path: root/src/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base64.h')
-rw-r--r--src/base64.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base64.h b/src/base64.h
index 11eb9db9..7fd29fef 100644
--- a/src/base64.h
+++ b/src/base64.h
@@ -17,6 +17,8 @@
#ifndef SERD_BASE64_H
#define SERD_BASE64_H
+#include "serd/serd.h"
+
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
@@ -28,7 +30,7 @@
@param wrap_lines Wrap lines at 76 characters to conform to RFC 2045.
@return The length of the base64 encoding, excluding null terminator.
*/
-size_t
+SERD_CONST_FUNC size_t
serd_base64_get_length(size_t size, bool wrap_lines);
/**