OSDN Git Service

[libfuzzer] include errno.h. On Ubuntu 14.04 we got away w/o it, but other systems...
authorKostya Serebryany <kcc@google.com>
Sat, 28 Jan 2017 18:56:05 +0000 (18:56 +0000)
committerKostya Serebryany <kcc@google.com>
Sat, 28 Jan 2017 18:56:05 +0000 (18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293389 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/FuzzerShmemPosix.cpp

index d5f4aab..c87407b 100644 (file)
@@ -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>