[PATCH] D60044: [Sanitizers] Fix sanitizer_linux_libcdep.cc compilation on Solaris

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 01:39:26 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL357751: [Sanitizers] Fix sanitizer_linux_libcdep.cc compilation on Solaris (authored by ro, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D60044?vs=193004&id=193845#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60044/new/

https://reviews.llvm.org/D60044

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
@@ -52,6 +52,7 @@
 #endif
 
 #if SANITIZER_SOLARIS
+#include <stdlib.h>
 #include <thread.h>
 #endif
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60044.193845.patch
Type: text/x-patch
Size: 384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190405/67c38b7b/attachment.bin>


More information about the llvm-commits mailing list