[DirectoryWatcher][linux] Fix build for older kernels
authorJan Korous <jkorous@apple.com>
Mon, 5 Aug 2019 18:44:07 +0000 (18:44 +0000)
committerJan Korous <jkorous@apple.com>
Mon, 5 Aug 2019 18:44:07 +0000 (18:44 +0000)
commit57f4bacf65ac3a32966e4b5029bc966038d2a754
tree6606e12f1f31f536dfb220912ff149a5055318f7
parentd47b9438d7b73dd7f7bf5da723ff3426af6daf9a
[DirectoryWatcher][linux] Fix build for older kernels

Apparently kernel support for IN_EXCL_UNLINK in inotify_add_watch() doesn't imply it's defined in sys/inotify.h.

https://bugs.llvm.org/show_bug.cgi?id=42824

llvm-svn: 367906
clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp