aboutsummaryrefslogtreecommitdiff
path: root/doc/educational_decoder/zstd_decompress.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/educational_decoder/zstd_decompress.h')
-rw-r--r--doc/educational_decoder/zstd_decompress.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/educational_decoder/zstd_decompress.h b/doc/educational_decoder/zstd_decompress.h
index a01fde331fb8..74b18533850a 100644
--- a/doc/educational_decoder/zstd_decompress.h
+++ b/doc/educational_decoder/zstd_decompress.h
@@ -7,6 +7,8 @@
* in the COPYING file in the root directory of this source tree).
*/
+#include <stddef.h> /* size_t */
+
/******* EXPOSED TYPES ********************************************************/
/*
* Contains the parsed contents of a dictionary
@@ -39,7 +41,7 @@ size_t ZSTD_get_decompressed_size(const void *const src, const size_t src_len);
* Return a valid dictionary_t pointer for use with dictionary initialization
* or decompression
*/
-dictionary_t* create_dictionary();
+dictionary_t* create_dictionary(void);
/*
* Parse a provided dictionary blob for use in decompression