[compiler-rt] 98c2754 - [Libfuzzer] Include signal.h for SIGINT
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 4 09:31:39 PDT 2022
Author: Krzysztof Parzyszek
Date: 2022-09-04T11:31:15-05:00
New Revision: 98c2754abd8fa46287f6e925eb4a78341740e281
URL: https://github.com/llvm/llvm-project/commit/98c2754abd8fa46287f6e925eb4a78341740e281
DIFF: https://github.com/llvm/llvm-project/commit/98c2754abd8fa46287f6e925eb4a78341740e281.diff
LOG: [Libfuzzer] Include signal.h for SIGINT
Or else compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp fails to compile
on FreeBSD.
Added:
Modified:
compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp b/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
index 7e22f0e9fe8f2..717af11bc79f4 100644
--- a/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
@@ -13,6 +13,7 @@
#include "FuzzerCommand.h"
#include "FuzzerInternal.h"
+#include <signal.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
More information about the llvm-commits
mailing list