| Index: Source/wtf/StringExtras.h
|
| diff --git a/Source/wtf/StringExtras.h b/Source/wtf/StringExtras.h
|
| index 4166f0f146564af1c2d0b9b13b27d8b0c39d1020..b465df588fba37952ec9192ae7e7641cf85ebb7e 100644
|
| --- a/Source/wtf/StringExtras.h
|
| +++ b/Source/wtf/StringExtras.h
|
| @@ -26,6 +26,16 @@
|
| #ifndef WTF_StringExtras_h
|
| #define WTF_StringExtras_h
|
|
|
| +#if OS(UNIX)
|
| +#define HAVE_STRINGS_H 1
|
| +#endif
|
| +
|
| +#if !defined(HAVE_STRNSTR)
|
| +#if OS(DARWIN) || (OS(FREEBSD) && !defined(__GLIBC__))
|
| +#define HAVE_STRNSTR 1
|
| +#endif
|
| +#endif
|
| +
|
| #include <stdarg.h>
|
| #include <stdio.h>
|
| #include <string.h>
|
|
|