sys/socket.h: add the definition of SCM_TIMESTAMP.

Third-party library lcm will use SCM_TIMESTAMP macro definition

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu 2024-05-14 19:16:13 +08:00 committed by archer
parent d199249769
commit 53a72a31fb
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@
#define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */
#define SCM_CREDENTIALS 0x02 /* rw: struct ucred */
#define SCM_SECURITY 0x03 /* rw: security label */
#define SCM_TIMESTAMP SO_TIMESTAMP
/* Desired design of maximum size and alignment (see RFC2553) */