aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 41cf0d82..a87871b4 100644
--- a/src/node.h
+++ b/src/node.h
@@ -10,6 +10,7 @@
#include "serd/uri.h"
#include <stddef.h>
+#include <stdint.h>
struct SerdNodeImpl {
size_t length; ///< Length in bytes (not including null)
@@ -17,6 +18,8 @@ struct SerdNodeImpl {
SerdNodeType type; ///< Node type
};
+static const size_t serd_node_align = 2 * sizeof(uint64_t);
+
static inline char* SERD_NONNULL
serd_node_buffer(SerdNode* SERD_NONNULL node)
{