[compiler-rt] 7e8541f - [compiler-rt] [fuzzer] Include stdarg.h for va_list
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 18 16:12:00 PST 2019
Author: Kamil Rytarowski
Date: 2019-12-19T01:11:39+01:00
New Revision: 7e8541f3df064e133c9f99e889682833b17d5f8e
URL: https://github.com/llvm/llvm-project/commit/7e8541f3df064e133c9f99e889682833b17d5f8e
DIFF: https://github.com/llvm/llvm-project/commit/7e8541f3df064e133c9f99e889682833b17d5f8e.diff
LOG: [compiler-rt] [fuzzer] Include stdarg.h for va_list
Fixes build on NetBSD after 139e216e6610091b7ee3c30bc11114f5d73cbd3e.
Added:
Modified:
compiler-rt/lib/fuzzer/afl/afl_driver.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/fuzzer/afl/afl_driver.cpp b/compiler-rt/lib/fuzzer/afl/afl_driver.cpp
index f21dfc58fede..bb3b48f36728 100644
--- a/compiler-rt/lib/fuzzer/afl/afl_driver.cpp
+++ b/compiler-rt/lib/fuzzer/afl/afl_driver.cpp
@@ -43,6 +43,7 @@ If 1, close stdout at startup. If 2 close stderr; if 3 close both.
*/
#include <assert.h>
#include <errno.h>
+#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
More information about the llvm-commits
mailing list