From 367c63dc1146b0d9dfe1fb436f71191b6364f9c6 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Tue, 8 Aug 2017 18:16:35 +0000 Subject: [PATCH] NetBSD compatibility nit in asan_test_utils.h Summary: Do not include on NetBSD, as this header serves on this OS backward compatibility with K&R alias for . Sponsored by Reviewers: vitalybuka, kcc, joerg, filcab, fjricci Reviewed By: vitalybuka Subscribers: kubamracek, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D36469 llvm-svn: 310391 --- compiler-rt/lib/asan/tests/asan_test_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/tests/asan_test_utils.h b/compiler-rt/lib/asan/tests/asan_test_utils.h index c292467..d7b6f82 100644 --- a/compiler-rt/lib/asan/tests/asan_test_utils.h +++ b/compiler-rt/lib/asan/tests/asan_test_utils.h @@ -45,7 +45,7 @@ #include #endif -#if !defined(__APPLE__) && !defined(__FreeBSD__) +#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__) #include #endif -- 2.7.4