summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-08 09:37:52 -0600
committerJens Axboe <axboe@kernel.dk>2017-06-08 09:37:52 -0600
commitb29c71c4a1e96390051d012b4e35c8d0718f7ce3 (patch)
treec3523c761932752bcbe37b6c1f635ed64f6c2e6a /lib
parenta1554f6519e7c91b262a35486d100d757b3b5b8a (diff)
downloadfio-b29c71c4a1e96390051d012b4e35c8d0718f7ce3.tar.gz
fio-b29c71c4a1e96390051d012b4e35c8d0718f7ce3.tar.bz2
Add strndup() function, if we don't have it
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
-rw-r--r--lib/pattern.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pattern.c b/lib/pattern.c
index 420d74a9..31ee4eaf 100644
--- a/lib/pattern.c
+++ b/lib/pattern.c
@@ -13,6 +13,7 @@
#include "pattern.h"
#include "../minmax.h"
#include "../oslib/strcasestr.h"
+#include "../oslib/strndup.h"
/**
* parse_file() - parses binary file to fill buffer