summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinikep <inikep@gmail.com>2016-09-02 21:02:30 (GMT)
committerinikep <inikep@gmail.com>2016-09-02 21:02:30 (GMT)
commitb3ae49c7bf3652a37ba42095b9f1177c0eff49e3 (patch)
tree92c782d188b7cd1c4b30b85f896b2a1d779c5fe1
parent2cf32ef0f107d18c9779283b8bd1d56f0517dd39 (diff)
downloadlz4-b3ae49c7bf3652a37ba42095b9f1177c0eff49e3.zip
lz4-b3ae49c7bf3652a37ba42095b9f1177c0eff49e3.tar.gz
lz4-b3ae49c7bf3652a37ba42095b9f1177c0eff49e3.tar.bz2
added <string.h> for strlen()
-rw-r--r--programs/bench.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/programs/bench.c b/programs/bench.c
index b56bac2..81118c0 100644
--- a/programs/bench.c
+++ b/programs/bench.c
@@ -52,6 +52,8 @@
#include <sys/types.h> /* stat64 */
#include <sys/stat.h> /* stat64 */
#include <time.h> /* clock_t, clock, CLOCKS_PER_SEC */
+#include <string.h> /* strlen */
+
#include "lz4.h"
#define COMPRESSOR0 LZ4_compress_local