summaryrefslogtreecommitdiff
path: root/include/dix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dix.h')
-rw-r--r--include/dix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h
index a321757e9..ea83e1161 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -564,6 +564,11 @@ extern int xstrcasecmp(const char *s1, const char *s2);
extern int xstrncasecmp(const char *s1, const char *s2, size_t n);
#endif
+#if NEED_STRCASESTR
+#define strcasestr xstrcasestr
+extern int xstrcasestr(const char *s, const char *find);
+#endif
+
/*
* These are deprecated compatibility functions and will be removed soon!
* Please use the noted replacements instead.