Просмотр исходного кода

Include the Library of the added function in carbon-language#1341 (#2172)

`cstdlib` is added for `abort()` in carbon-language#1341

`unistd.h` was not removed with `exit()` in carbon-language#1175
micttyl 3 лет назад
Родитель
Сommit
b5e55556be
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      common/check_internal.h

+ 1 - 1
common/check_internal.h

@@ -5,7 +5,7 @@
 #ifndef CARBON_COMMON_CHECK_INTERNAL_H_
 #define CARBON_COMMON_CHECK_INTERNAL_H_
 
-#include <unistd.h>
+#include <cstdlib>
 
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/Signals.h"