From 2ac7d5c27b23f082c7e7741fa40875f76747ba6a Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 18 Aug 2024 03:02:43 -0500
Subject: [PATCH 18/34] test: Add definition for __cpu_set type
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

glibc defines this type, but musl does not.

This cannot be upstreamed.

Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
---
 src/test/test-cpu-set-util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/test-cpu-set-util.c b/src/test/test-cpu-set-util.c
index ccb52c96d4d6..5892b7a5c214 100644
--- a/src/test/test-cpu-set-util.c
+++ b/src/test/test-cpu-set-util.c
@@ -6,6 +6,8 @@
 #include "tests.h"
 #include "macro.h"
 
+typedef unsigned long int __cpu_mask;
+
 TEST(parse_cpu_set) {
         CPUSet c = {};
         _cleanup_free_ char *str = NULL;
-- 
2.41.0

