summaryrefslogtreecommitdiff
path: root/src/yaml_private.h
diff options
context:
space:
mode:
authorKirill Simonov <xi@resolvent.net>2014-02-02 23:41:44 -0600
committerKirill Simonov <xi@resolvent.net>2014-02-02 23:41:44 -0600
commitc201bf64fa16fb65b11624dacc24d96a46604f02 (patch)
tree100539bb27c3ea16e8d94cb92e766b5bbc3f9211 /src/yaml_private.h
parentbb8ab829a252b2ecf328df9c152a96198e4cc8f6 (diff)
downloadlibyaml-git-c201bf64fa16fb65b11624dacc24d96a46604f02.tar.gz
Guard against overflows in indent and flow_level.
Diffstat (limited to 'src/yaml_private.h')
-rw-r--r--src/yaml_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yaml_private.h b/src/yaml_private.h
index f835d3d..f248383 100644
--- a/src/yaml_private.h
+++ b/src/yaml_private.h
@@ -7,6 +7,7 @@
#include <assert.h>
#include <limits.h>
+#include <stddef.h>
/*
* Memory management.