summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-01-28 18:56:05 +0000
committerKostya Serebryany <kcc@google.com>2017-01-28 18:56:05 +0000
commitac2a63346782e0ee195872cea084318f1ec2454d (patch)
tree38207c8542c1d47696295e0c3e0a6f3ab2441944
parentf47d26ac2b71a680d06a5aa63ee9da024d9551c6 (diff)
downloadbcm5719-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.cpp1
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>
OpenPOWER on IntegriCloud