app: more Windows-specific fixes in gimpdashboard.c

This commit is contained in:
Ell 2018-06-28 10:17:36 -04:00
parent d75e599431
commit 4914103b5f
1 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@
#ifdef G_OS_WIN32
#include <windows.h>
#include <psapi.h>
#define HAVE_CPU_GROUP
#define HAVE_MEMORY_GROUP
#else /* ! G_OS_WIN32 */
@ -1986,8 +1987,8 @@ gimp_dashboard_sample_cpu_usage (GimpDashboard *dashboard,
{
typedef struct
{
static guint64 prev_time;
static guint64 prev_usage;
guint64 prev_time;
guint64 prev_usage;
} Data;
GimpDashboardPrivate *priv = dashboard->priv;