diff options
author | Ondrej Čerman | 2019-10-12 21:10:51 +0200 |
---|---|---|
committer | GitHub | 2019-10-12 21:10:51 +0200 |
commit | 27ccde4c7e90040dbca71f4969da01c1b976f12a (patch) | |
tree | 870d9701f6aac98f895ebe27558f3ab7ae6bc526 | |
parent | 79dc7129d873ad56a57849c49b6e7535812bc35a (diff) | |
parent | 3d6f0cccb06c42a359955e98ffbb8e49083b53e2 (diff) |
Merge pull request #7 from jrugia/master
Silences a few warnings during compilation.
-rw-r--r-- | src/ss/msr.c | 2 | ||||
-rw-r--r-- | src/ss/zenpower.c | 1 | ||||
-rw-r--r-- | src/zenmonitor.c | 1 |
3 files changed, 4 insertions, 0 deletions
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 <unistd.h> #include <fcntl.h> #include <math.h> +#include "stdlib.h" +#include "string.h" #include "zenmonitor.h" #include "msr.h" 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; 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 |