diff options
| author | Kostya Serebryany <kcc@google.com> | 2017-01-28 18:56:05 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2017-01-28 18:56:05 +0000 |
| commit | ac2a63346782e0ee195872cea084318f1ec2454d (patch) | |
| tree | 38207c8542c1d47696295e0c3e0a6f3ab2441944 | |
| parent | f47d26ac2b71a680d06a5aa63ee9da024d9551c6 (diff) | |
| download | bcm5719-llvm-ac2a63346782e0ee195872cea084318f1ec2454d.tar.gz bcm5719-llvm-ac2a63346782e0ee195872cea084318f1ec2454d.zip | |
[libfuzzer] include errno.h. On Ubuntu 14.04 we got away w/o it, but other systems seem to require it
llvm-svn: 293389
| -rw-r--r-- | llvm/lib/Fuzzer/FuzzerShmemPosix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerShmemPosix.cpp b/llvm/lib/Fuzzer/FuzzerShmemPosix.cpp index d5f4aabc426..c87407bb1d6 100644 --- a/llvm/lib/Fuzzer/FuzzerShmemPosix.cpp +++ b/llvm/lib/Fuzzer/FuzzerShmemPosix.cpp @@ -16,6 +16,7 @@ #include <sys/types.h> #include <sys/stat.h> +#include <errno.h> #include <fcntl.h> #include <sys/mman.h> #include <semaphore.h> |

