diff options
author | monsta <[email protected]> | 2016-08-15 19:48:33 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-08-15 19:48:33 +0300 |
commit | a1f837c68f2b7aead7a79663a6efe326fc8dfec7 (patch) | |
tree | 16a549eaccf9d2252fa44136735d5316acc6de72 /cpufreq | |
parent | ddf0af75183bc2938b6dfb93d6faab3702e8005d (diff) | |
download | mate-applets-a1f837c68f2b7aead7a79663a6efe326fc8dfec7.tar.bz2 mate-applets-a1f837c68f2b7aead7a79663a6efe326fc8dfec7.tar.xz |
cpufreq: fix build warning when polkit is disabled
Diffstat (limited to 'cpufreq')
-rw-r--r-- | cpufreq/src/cpufreq-selector/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpufreq/src/cpufreq-selector/main.c b/cpufreq/src/cpufreq-selector/main.c index 37734172..d048df31 100644 --- a/cpufreq/src/cpufreq-selector/main.c +++ b/cpufreq/src/cpufreq-selector/main.c @@ -28,6 +28,8 @@ #ifdef HAVE_POLKIT #include "cpufreq-selector-service.h" +#else +#include <unistd.h> #endif #include "cpufreq-selector-factory.h" |