'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

View file

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