[PATCH] Fix Windows build by using lib/strcasestr.{c,h}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 Makefile        | 1 +
 os/os-windows.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index d287126..1507464 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 9e931c9..ad1c3df 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.5.2.windows.2

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux