summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-selector/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq/src/cpufreq-selector/main.c')
-rw-r--r--cpufreq/src/cpufreq-selector/main.c2
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"