projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd06634
)
fixed minor declaration issue with clang on msys
author
Cyan4973
<cyan@fb.com>
Mon, 23 Apr 2018 22:52:44 +0000
(15:52 -0700)
committer
Cyan4973
<cyan@fb.com>
Mon, 23 Apr 2018 22:52:44 +0000
(15:52 -0700)
programs/util.h
patch
|
blob
|
history
diff --git
a/programs/util.h
b/programs/util.h
index
ff25106
..
ef6ca77
100644
(file)
--- 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 */