[PATCH] D45852: [Fuzzer] Add a missing header in Fuchsia implementation

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 19 17:32:48 PDT 2018


phosek created this revision.
phosek added reviewers: mcgrathr, aarongreen.
Herald added subscribers: Sanitizers, llvm-commits.
phosek edited the summary of this revision.

This is needed for fd_set.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D45852

Files:
  compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp


Index: compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
===================================================================
--- compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
+++ compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <launchpad/launchpad.h>
 #include <string>
+#include <sys/select.h>
 #include <thread>
 #include <unistd.h>
 #include <zircon/errors.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45852.143201.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180420/fbdc9d35/attachment.bin>


More information about the llvm-commits mailing list