From a57cdc84e2f38ea99fd464d8b5b6446c769cc545 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 23 Jan 2019 08:56:40 +0100 Subject: Switch to autotools (#316) --- src/print_cpu_temperature.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/print_cpu_temperature.c') diff --git a/src/print_cpu_temperature.c b/src/print_cpu_temperature.c index 569ea60..01744a1 100644 --- a/src/print_cpu_temperature.c +++ b/src/print_cpu_temperature.c @@ -1,4 +1,5 @@ // vim:ts=4:sw=4:expandtab +#include #include #include #include @@ -52,7 +53,7 @@ typedef struct temperature_s { #define ERROR_CODE 1 static int read_temperature(char *thermal_zone, temperature_t *temperature) { -#if defined(LINUX) +#if defined(__linux__) static char buf[16]; long int temp; -- cgit v1.2.3