[compiler-rt] a6fdfef - [compiler-rt] Include stdlib.h for exit() (#115025)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 09:30:28 PST 2024


Author: Nico Weber
Date: 2024-11-05T12:30:23-05:00
New Revision: a6fdfefbd04d2b85ba6c23def5790b735c075314

URL: https://github.com/llvm/llvm-project/commit/a6fdfefbd04d2b85ba6c23def5790b735c075314
DIFF: https://github.com/llvm/llvm-project/commit/a6fdfefbd04d2b85ba6c23def5790b735c075314.diff

LOG: [compiler-rt] Include stdlib.h for exit() (#115025)

It was originally included transitively, but no longer is after recent
<vector> cleanups in libc++.

Similar to #113951.

Added: 
    

Modified: 
    compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp b/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
index dfc32ac9db2979..566820ae6d198b 100644
--- a/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
@@ -14,6 +14,7 @@
 
 #include "FuzzerExtFunctions.h"
 #include "FuzzerIO.h"
+#include <stdlib.h>
 
 using namespace fuzzer;
 


        


More information about the llvm-commits mailing list