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 {