From: Bruce Cran Date: Tue, 6 Oct 2015 00:18:50 +0000 (-0600) Subject: Fix Windows build by using lib/strcasestr.{c,h} X-Git-Tag: fio-2.2.11~23 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=36a6ac702ab9f8321bd0d6e298348f4c65eb01ae;ds=sidebyside Fix Windows build by using lib/strcasestr.{c,h} Signed-off-by: Jens Axboe --- diff --git a/Makefile b/Makefile index d287126e..1507464a 100644 --- a/Makefile +++ b/Makefile @@ -237,6 +237,7 @@ ifneq (,$(findstring CYGWIN,$(CONFIG_TARGET_OS))) T_DEDUPE_OBJS += os/windows/posix.o lib/hweight.o T_SMALLOC_OBJS += os/windows/posix.o lib/hweight.o T_LFSR_TEST_OBJS += os/windows/posix.o lib/hweight.o + T_ZIPF_OBJS += lib/strcasestr.o endif T_TEST_PROGS = $(T_SMALLOC_PROGS) diff --git a/os/os-windows.h b/os/os-windows.h index 9e931c9c..ad1c3dfc 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -16,6 +16,7 @@ #include "../file.h" #include "../log.h" #include "../lib/hweight.h" +#include "../lib/strcasestr.h" #include "windows/posix.h"