Fix build with musl

Fixes the following build failure:
In file included from ../common/common-cpu.c:32:
../common/common-cpu.h:44:9: error: unknown type name 'cpu_set_t'
   44 |         cpu_set_t *online;
      |         ^~~~~~~~~
../common/common-cpu.h:45:9: error: unknown type name 'cpu_set_t'
   45 |         cpu_set_t *to_keep;
      |         ^~~~~~~~~

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
Kostadin Shishmanov 2023-12-30 22:47:38 +02:00 committed by afayaz-feral
parent 5180d89e66
commit 4a82094c98

View File

@ -31,6 +31,8 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma once
#define _GNU_SOURCE
#include <sched.h>
#include <stdlib.h>