diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-07-16 02:59:51 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2008-07-16 03:02:17 +0300 |
commit | ad87c72edcc0d1f56658e0c4e73af335c8d5a516 (patch) | |
tree | f67ba5ed806c326dab2db3565e734c8693943d62 /include/dix.h | |
parent | c3c901cf44cf16bb33c4176494361b429099a372 (diff) |
DIX: Add strcasestr from FreeBSD
Add strcasestr for use on systems which don't have it.
Diffstat (limited to 'include/dix.h')
-rw-r--r-- | include/dix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h index a8c2b3b5a..ac03ce0e9 100644 --- a/include/dix.h +++ b/include/dix.h @@ -609,6 +609,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 + extern int XItoCoreType(int xi_type); extern Bool DevHasCursor(DeviceIntPtr pDev); extern Bool IsPointerDevice( DeviceIntPtr dev); |