diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/print_cpu_temperature.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/print_cpu_temperature.c b/src/print_cpu_temperature.c index 84f78e0..3bc4636 100644 --- a/src/print_cpu_temperature.c +++ b/src/print_cpu_temperature.c @@ -22,6 +22,7 @@ static char *thermal_zone;   *   */  void print_cpu_temperature_info(int zone, const char *path, const char *format) { +#ifdef THERMAL_ZONE          const char *walk;          static char buf[16]; @@ -59,4 +60,5 @@ void print_cpu_temperature_info(int zone, const char *path, const char *format)                          walk += strlen("degrees");                  }          } +#endif  } | 
