diff --git a/include/dix.h b/include/dix.h index ea83e1161..64035fec7 100644 --- a/include/dix.h +++ b/include/dix.h @@ -566,7 +566,7 @@ extern int xstrncasecmp(const char *s1, const char *s2, size_t n); #if NEED_STRCASESTR #define strcasestr xstrcasestr -extern int xstrcasestr(const char *s, const char *find); +extern char *xstrcasestr(const char *s, const char *find); #endif /*