$OpenBSD: patch-include_sysinfo_h,v 1.4 2021/04/01 07:15:38 robert Exp $

Add ZBX_CPU_STATE_SPIN to monitor CP_SPIN

Index: include/sysinfo.h
--- include/sysinfo.h.orig
+++ include/sysinfo.h
@@ -156,7 +156,8 @@ extern int	CONFIG_UNSAFE_USER_PARAMETERS;
 #define ZBX_CPU_STATE_STEAL	7
 #define ZBX_CPU_STATE_GCPU	8
 #define ZBX_CPU_STATE_GNICE	9
-#define ZBX_CPU_STATE_COUNT	10
+#define	ZBX_CPU_STATE_SPIN	10
+#define ZBX_CPU_STATE_COUNT	11
 
 #define ZBX_PROC_STAT_ALL	0
 #define ZBX_PROC_STAT_RUN	1
