diff options
author | monsta <[email protected]> | 2016-08-15 19:48:33 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-08-15 21:35:31 +0300 |
commit | 8317f3dd536c10ac06ff29b85ee7d76b190472ce (patch) | |
tree | 28c2d1b91df4cb415f2f4cef0698664cc2d1415f /cpufreq | |
parent | ccaafea1b11827738d05622e882afa0a6f5355fe (diff) | |
download | mate-applets-8317f3dd536c10ac06ff29b85ee7d76b190472ce.tar.bz2 mate-applets-8317f3dd536c10ac06ff29b85ee7d76b190472ce.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" |