Kernel: Change values of SHUT_{RD,WR,RDWR}

For some reason, guile requires these to be specific values.
This commit is contained in:
Peter Elliott 2022-05-07 12:25:42 -06:00 committed by Andreas Kling
parent 3f0be4e9ea
commit 1c86678a64

View file

@ -37,9 +37,9 @@ extern "C" {
#define SOCK_NONBLOCK 04000
#define SOCK_CLOEXEC 02000000
#define SHUT_RD 1
#define SHUT_WR 2
#define SHUT_RDWR 3
#define SHUT_RD 0
#define SHUT_WR 1
#define SHUT_RDWR 2
#define IPPROTO_IP 0
#define IPPROTO_ICMP 1