Hi I am attempting to compile linux-wallpaper engine on Debian and I get the following error:
src/WallpaperEngine/Audio/Drivers/Detectors/CPulseAudioPlayingDetector.cpp:19:29: error: ‘getpid’ was not declared in this scope; did you mean ‘getpt’? 19 | if (atoi (value) != getpid () && pa_cvolume_avg (&info->volume) != PA_VOLUME_MUTED) | ^~~~~~
during compilation. I have a work around where I add #include <unistd.h> to the top of the file but idk if this the correct solution.
Hi I am attempting to compile linux-wallpaper engine on Debian and I get the following error:
src/WallpaperEngine/Audio/Drivers/Detectors/CPulseAudioPlayingDetector.cpp:19:29: error: ‘getpid’ was not declared in this scope; did you mean ‘getpt’? 19 | if (atoi (value) != getpid () && pa_cvolume_avg (&info->volume) != PA_VOLUME_MUTED) | ^~~~~~
during compilation. I have a work around where I add#include <unistd.h>
to the top of the file but idk if this the correct solution.Just thought I would let you know