From 36dec58c36fb4ef3a9dca12c4665cb7b696317c7 Mon Sep 17 00:00:00 2001 From: Jonathan Farrugia Date: Fri, 11 Oct 2019 21:56:46 +0200 Subject: Update zenmonitor.c Silences a warning at compile time.--- src/zenmonitor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zenmonitor.c b/src/zenmonitor.c index 4d96cb9..f3cb6e6 100644 --- a/src/zenmonitor.c +++ b/src/zenmonitor.c @@ -4,6 +4,7 @@ #include "zenpower.h" #include "msr.h" #include "gui.h" +#include "string.h" #define AMD_STRING "AuthenticAMD" #define ZEN_FAMILY 0x17 -- cgit v1.2.3-70-g09d2 From 72a981c13f02fae3f5dbfd3719050bef4bbdf46a Mon Sep 17 00:00:00 2001 From: Jonathan Farrugia Date: Fri, 11 Oct 2019 21:58:23 +0200 Subject: Update zenpower.c Silences a warning at compile time.--- src/ss/zenpower.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ss/zenpower.c b/src/ss/zenpower.c index 57a9960..07a6b54 100644 --- a/src/ss/zenpower.c +++ b/src/ss/zenpower.c @@ -2,6 +2,7 @@ #include "zenmonitor.h" #include "zenpower.h" #include "stdlib.h" +#include "string.h" GSList *zp_sensors = NULL; static int nodes = 0; -- cgit v1.2.3-70-g09d2 From 3d6f0cccb06c42a359955e98ffbb8e49083b53e2 Mon Sep 17 00:00:00 2001 From: Jonathan Farrugia Date: Fri, 11 Oct 2019 21:59:13 +0200 Subject: Update msr.c Silences even more warnings at compile time.--- src/ss/msr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ss/msr.c b/src/ss/msr.c index d26f703..2da5d7a 100644 --- a/src/ss/msr.c +++ b/src/ss/msr.c @@ -4,6 +4,8 @@ #include #include #include +#include "stdlib.h" +#include "string.h" #include "zenmonitor.h" #include "msr.h" -- cgit v1.2.3-70-g09d2