From a7fcbba75a3250f007baa4075f93dc1ce4f46225 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 2 Nov 2015 10:46:04 -0500 Subject: [PATCH] Add missing header, silence warning. Should fix #292. --- darwin/Platform.c | 2 ++ darwin/Platform.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/darwin/Platform.c b/darwin/Platform.c index da9cbb75..4a36fe05 100644 --- a/darwin/Platform.c +++ b/darwin/Platform.c @@ -21,6 +21,7 @@ in the source distribution for its full text. /*{ #include "Action.h" +#include "SignalsPanel.h" #include "CPUMeter.h" #include "BatteryMeter.h" #include "DarwinProcess.h" @@ -226,5 +227,6 @@ void Platform_setMemoryValues(Meter* mtr) { } void Platform_setSwapValues(Meter* this) { + (void) this; } diff --git a/darwin/Platform.h b/darwin/Platform.h index af3a132a..fdf8b35b 100644 --- a/darwin/Platform.h +++ b/darwin/Platform.h @@ -11,6 +11,8 @@ in the source distribution for its full text. */ #include "Action.h" +#include "SignalsPanel.h" +#include "CPUMeter.h" #include "BatteryMeter.h" #include "DarwinProcess.h"