From 53a72a31fbfa7a2c993274dafea50b5b120b5adb Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Tue, 14 May 2024 19:16:13 +0800 Subject: [PATCH] sys/socket.h: add the definition of SCM_TIMESTAMP. Third-party library lcm will use SCM_TIMESTAMP macro definition Signed-off-by: zhanghongyu --- include/sys/socket.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/socket.h b/include/sys/socket.h index 05b13bdaaf..d723dfccae 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -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) */