Give proper prototype to gitstrcasestr.
[gitweb.git] / Makefile
index 92f0bda5e785aaff667c82c6a07776197bd24e4e..b8ca504f095a68ef929af92127b1197c53120a6b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -246,7 +246,7 @@ ifdef NEEDS_NSL
        SIMPLE_LIB += -lnsl
 endif
 ifdef NO_STRCASESTR
-       DEFINES += -Dstrcasestr=gitstrcasestr
+       DEFINES += -Dstrcasestr=gitstrcasestr -DNO_STRCASESTR=1
        LIB_OBJS += compat/strcasestr.o
 endif