summaryrefslogtreecommitdiffstats
path: root/programs/util.h
diff options
context:
space:
mode:
authorCyan4973 <cyan@fb.com>2018-04-23 22:52:44 (GMT)
committerCyan4973 <cyan@fb.com>2018-04-23 22:52:44 (GMT)
commit644b7bd2b62b10da2b464d71655ae2ed523fdc33 (patch)
treed9c3c1fba043c6bf61e950dd4c8894d295007965 /programs/util.h
parentcd0663456f82b6d771e6aed01c6c4ff7f1bf4358 (diff)
downloadlz4-644b7bd2b62b10da2b464d71655ae2ed523fdc33.zip
lz4-644b7bd2b62b10da2b464d71655ae2ed523fdc33.tar.gz
lz4-644b7bd2b62b10da2b464d71655ae2ed523fdc33.tar.bz2
fixed minor declaration issue with clang on msys
Diffstat (limited to 'programs/util.h')
-rw-r--r--programs/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/util.h b/programs/util.h
index ff25106..ef6ca77 100644
--- a/programs/util.h
+++ b/programs/util.h
@@ -30,8 +30,9 @@ extern "C" {
* Dependencies
******************************************/
#include "platform.h" /* PLATFORM_POSIX_VERSION */
-#include <stdlib.h> /* malloc */
#include <stddef.h> /* size_t, ptrdiff_t */
+#include <stdlib.h> /* malloc */
+#include <string.h> /* strlen, strncpy */
#include <stdio.h> /* fprintf */
#include <sys/types.h> /* stat, utime */
#include <sys/stat.h> /* stat */