summaryrefslogtreecommitdiff
path: root/src/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.h')
-rw-r--r--src/parse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse.h b/src/parse.h
index 516b171..0de0d50 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -1,7 +1,8 @@
#include "leven.h"
+#include <sys/types.h>
// Chunk offsets for each node in the tree
// chunks[nodeId] = start position of the tag in the original string
// The end position is implicitly the start of the next tag or the end of the string
-int parse_string(char *str, struct Tree *tree, size_t **chunks);
+int parse_string(char *str, struct Tree *tree, ssize_t **chunks);