Fix platform dependent field

This commit is contained in:
lucic71 2022-07-19 23:56:57 +03:00
parent c1e9069aa1
commit abba2c89ab
1 changed files with 1 additions and 3 deletions

View File

@ -45,14 +45,12 @@ struct cpu_usage {
long system;
long idle;
long total;
int spin;
#else
int user;
int nice;
int system;
int idle;
#if defined(__OpenBSD__)
int spin;
#endif
int total;
#endif
};