diff options
author | John Emmas <johne53@tiscali.co.uk> | 2013-10-03 09:57:25 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2013-10-03 09:57:25 +0100 |
commit | da628185b16fee5808cc544cad6647771d5a623a (patch) | |
tree | 6667006799746142873228220251eae97aad811f /gtk2_ardour/nsmclient.cc | |
parent | 5da78cea9ad4e7bbb67f7238c7a29362170396f1 (diff) |
'gtk2_ardour' - Make sure that 'getpid()' can be found when building with MSVC
Diffstat (limited to 'gtk2_ardour/nsmclient.cc')
-rw-r--r-- | gtk2_ardour/nsmclient.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/nsmclient.cc b/gtk2_ardour/nsmclient.cc index 76e18bc629..94c3e8570e 100644 --- a/gtk2_ardour/nsmclient.cc +++ b/gtk2_ardour/nsmclient.cc @@ -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 { |