On Windows, #include <process.h> for getpid

Change-Id: Ibfb52800cdde99298431dab9da1cb8109658c425
This commit is contained in:
Stephan Bergmann
2016-12-18 14:20:19 +01:00
parent 35196c3275
commit 54aab71ff7

View File

@@ -16,8 +16,13 @@
#include <clang/Frontend/FrontendPluginRegistry.h>
#include <clang/Lex/PPCallbacks.h>
#include <stdio.h>
#if defined _WIN32
#include <process.h>
#else
#include <sys/stat.h>
#include <unistd.h>
#endif
/*
This source file manages all plugin actions. It is not necessary to modify this