summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/Darwin/malloc_size.mm
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/Darwin/malloc_size.mm')
-rw-r--r--compiler-rt/test/tsan/Darwin/malloc_size.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/Darwin/malloc_size.mm b/compiler-rt/test/tsan/Darwin/malloc_size.mm
index 3d3629b73e7..485d85bba4f 100644
--- a/compiler-rt/test/tsan/Darwin/malloc_size.mm
+++ b/compiler-rt/test/tsan/Darwin/malloc_size.mm
@@ -3,8 +3,10 @@
// RUN: %clang_tsan %s -o %t -framework Foundation
// RUN: %run %t 2>&1 | FileCheck %s
-#import <Foundation/Foundation.h>
#include <malloc/malloc.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/mman.h>
int some_global;
OpenPOWER on IntegriCloud