Skip to content

Commit 47a8927

Browse files
Tevz-BeskovnikJohnTitor
authored andcommitted
Add SIGABRT const to newlib
1 parent eb1bad8 commit 47a8927

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/newlib/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@ pub const SOCK_CLOEXEC: ::c_int = O_CLOEXEC;
511511

512512
pub const INET_ADDRSTRLEN: ::c_int = 16;
513513

514+
pub const SIGABRT: ::c_int = 1;
515+
514516
// https://github.com/bminor/newlib/blob/HEAD/newlib/libc/sys/linux/include/net/if.h#L121
515517
pub const IFF_UP: ::c_int = 0x1; // interface is up
516518
pub const IFF_BROADCAST: ::c_int = 0x2; // broadcast address valid

0 commit comments

Comments
 (0)