aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Čerman2019-10-12 21:12:19 +0200
committerOndrej Čerman2019-10-12 21:12:19 +0200
commitf3ca3475d0500734421b738f944edbf55802abca (patch)
treebbd46bb887a7abd2783c7f965fcd40c9424c1e2c
parentec849b74627cd6ad890714a0c3215fcf3c9c0dad (diff)
parent27ccde4c7e90040dbca71f4969da01c1b976f12a (diff)
Merge branch 'master' of https://github.com/ocerman/zenmonitor
-rw-r--r--src/ss/msr.c2
-rw-r--r--src/ss/zenpower.c1
-rw-r--r--src/zenmonitor.c1
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 4ce4bb9..ee2be39 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