'gtk2_ardour' - Make sure that 'getpid()' can be found when building with MSVC

This commit is contained in:
John Emmas 2013-10-03 09:57:25 +01:00
parent 5da78cea9a
commit da628185b1
1 changed files with 4 additions and 0 deletions

View File

@ -23,7 +23,11 @@
#include <unistd.h>
#include <stdlib.h>
#ifndef COMPILER_MSVC
#pragma GCC diagnostic ignored "-Wunused-parameter"
#else
#include <process.h> // Needed for 'getpid()'
#endif
namespace NSM
{