Chromium Code Reviews| Index: Source/wtf/StringExtras.h |
| diff --git a/Source/wtf/StringExtras.h b/Source/wtf/StringExtras.h |
| index 4166f0f146564af1c2d0b9b13b27d8b0c39d1020..2eca8e914b1a249b66cf59b5e677e7190343151d 100644 |
| --- a/Source/wtf/StringExtras.h |
| +++ b/Source/wtf/StringExtras.h |
| @@ -26,6 +26,18 @@ |
| #ifndef WTF_StringExtras_h |
| #define WTF_StringExtras_h |
| +#include "wtf/Platform.h" |
|
abarth-chromium
2013/08/05 21:57:23
You don't need to include Platform.h explicitly.
|
| + |
| +#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> |