From e04d2ec8c6014eaeb3c5ca51ff2dcb0f340a3a22 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 17 Mar 2025 12:58:12 +0100 Subject: check_swap: Fixes on NetBSD --- plugins/check_swap.d/check_swap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/check_swap.d/check_swap.h') diff --git a/plugins/check_swap.d/check_swap.h b/plugins/check_swap.d/check_swap.h index 1000fc9e..da08d65a 100644 --- a/plugins/check_swap.d/check_swap.h +++ b/plugins/check_swap.d/check_swap.h @@ -1,7 +1,8 @@ #pragma once #include "../common.h" -#include "output.h" +#include "../../lib/output.h" +#include "../../lib/states.h" #ifndef SWAP_CONVERSION # define SWAP_CONVERSION 1 @@ -26,7 +27,7 @@ typedef struct { typedef struct { bool allswaps; - int no_swap_state; + mp_state_enum no_swap_state; bool warn_is_set; check_swap_threshold warn; bool crit_is_set; -- cgit v1.2.3-74-g34f1