From 36a6ac702ab9f8321bd0d6e298348f4c65eb01ae Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Mon, 5 Oct 2015 18:18:50 -0600 Subject: [PATCH] Fix Windows build by using lib/strcasestr.{c,h} Signed-off-by: Jens Axboe --- Makefile | 1 + os/os-windows.h | 1 + 2 files changed, 2 insertions(+) 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" -- 2.25.1