Make git-send-pack exit with error when some refs couldn't be pushed out
[gitweb.git] / mailinfo.c
index 890e3487adf65b937f9a9d1ec82d59c746bf62de..d4b4163628e582185e8a28defe009c75aa62edab 100644 (file)
@@ -8,12 +8,9 @@
 #include <string.h>
 #include <ctype.h>
 #include <iconv.h>
+#include "git-compat-util.h"
 #include "cache.h"
 
-#ifdef NO_STRCASESTR
-extern char *gitstrcasestr(const char *haystack, const char *needle);
-#endif
-
 static FILE *cmitmsg, *patchfile;
 
 static int keep_subject = 0;