summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerUtilLinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerUtilLinux.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerUtilLinux.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerUtilLinux.cpp b/llvm/lib/Fuzzer/FuzzerUtilLinux.cpp
index 060cec04542..dfe7e6f4e18 100644
--- a/llvm/lib/Fuzzer/FuzzerUtilLinux.cpp
+++ b/llvm/lib/Fuzzer/FuzzerUtilLinux.cpp
@@ -10,10 +10,15 @@
//===----------------------------------------------------------------------===//
#include "FuzzerDefs.h"
#if LIBFUZZER_LINUX
+
#include <stdlib.h>
+
namespace fuzzer {
+
int ExecuteCommand(const std::string &Command) {
return system(Command.c_str());
}
-}
+
+} // namespace fuzzer
+
#endif // LIBFUZZER_LINUX
OpenPOWER on IntegriCloud