mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
Fixed build under Arch Linux
This commit is contained in:
parent
b3a27ee937
commit
fbb3f593a5
|
@ -94,6 +94,8 @@ unsigned int ProcessWrapper::findProcess(const char *name, unsigned int pid_skip
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
unsigned int ProcessWrapper::currentProcessId()
|
unsigned int ProcessWrapper::currentProcessId()
|
||||||
{
|
{
|
||||||
return getpid();
|
return getpid();
|
||||||
|
|
Loading…
Reference in a new issue