forked from OSchip/llvm-project
NFC, add a missing stdlib include for the use of abort
The FatalErrorHandler.cpp file uses 'abort', but doesn't include 'stdlib.h'. This causes a build error when modules are used in clang.
This commit is contained in:
parent
a9f63d22fa
commit
119274748b
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "clang-c/FatalErrorHandler.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
static void aborting_fatal_error_handler(void *, const std::string &reason,
|
||||
bool) {
|
||||
|
|
Loading…
Reference in New Issue