Add host-specific include for getpid() in FrontendTool.

This commit is contained in:
Artem Chikin
2020-11-30 10:19:19 -08:00
parent e5d86d4b23
commit 269f1b91bc
2 changed files with 5 additions and 5 deletions

View File

@@ -79,6 +79,11 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#if __has_include(<unistd.h>)
#include <unistd.h>
#elif defined(_WIN32)
#include <process.h>
#endif
#include <algorithm>
#include <memory>
#include <unordered_set>