From 3b69b1ca26a2c1bd232abfaaf8ee8f8397a23594 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Tue, 12 Sep 2023 02:38:12 +1100 Subject: [PATCH] make atomics and threads include cia/def and rt when they depend on it --- include/stdatomic.h | 1 + include/threads.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/stdatomic.h b/include/stdatomic.h index bda28ec..156d381 100644 --- a/include/stdatomic.h +++ b/include/stdatomic.h @@ -1,6 +1,7 @@ #pragma once +#include #include #include diff --git a/include/threads.h b/include/threads.h index 82eab15..893f1c1 100644 --- a/include/threads.h +++ b/include/threads.h @@ -1,6 +1,9 @@ #pragma once +#include +#include + typedef int (*thrd_start_t)(void *); struct thrd_t typedef thrd_t;