socket: properly handle cmsg alignment

This commit is contained in:
Matheus
2026-06-04 13:25:03 -03:00
parent f7dd3fe17d
commit 4f3c176ad9
2 changed files with 11 additions and 5 deletions
+1
View File
@@ -90,6 +90,7 @@ typedef struct {
#define SOCK_STREAM 1
#define SOCK_DGRAM 2
#define SOCK_RAW 3
#define SOCK_SEQPACKET 5
#define MSG_CMSG_CLOEXEC 0x40000000
#define MSG_CTRUNC 0x8