From f59dfab490a2543aee19990a1fc544c43ae1bb46 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sat, 18 Apr 2026 02:31:35 +0700 Subject: [PATCH] Move sig_atomic_t from stdint --- include/stdint.h | 2 -- src/header/signal/cbindgen.toml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/stdint.h b/include/stdint.h index 74c5959564..963b8e9b5d 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -374,6 +374,4 @@ typedef __UINTMAX_TYPE__ uintmax_t; #endif #endif -typedef long sig_atomic_t; - #endif /* _GCC_STDINT_H */ diff --git a/src/header/signal/cbindgen.toml b/src/header/signal/cbindgen.toml index 1b00793e87..e2e7cd120e 100644 --- a/src/header/signal/cbindgen.toml +++ b/src/header/signal/cbindgen.toml @@ -20,6 +20,7 @@ typedef struct siginfo siginfo_t; typedef unsigned long long sigset_t; typedef struct ucontext ucontext_t; typedef struct mcontext mcontext_t; +typedef long sig_atomic_t; struct sigaction { union {