[ASan] Fix compilation of asan_str_test.cc on non-Darwin.

llvm-svn: 191083
This commit is contained in:
Alexander Potapenko 2013-09-20 11:03:27 +00:00
parent 2fe068ef20
commit bff7e64a3f
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@
//===----------------------------------------------------------------------===//
#include "asan_test_utils.h"
#include <AvailabilityMacros.h>
#if defined(__APPLE__)
#include <AvailabilityMacros.h> // For MAC_OS_X_VERSION_*
#endif
// Used for string functions tests
static char global_string[] = "global";