mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-04-19 02:10:59 +02:00
Add trivial definitions of RFC 2292 CMSG_LEN() CMSG_SIZE()
This commit is contained in:
committed by
Amadeusz Sławiński
parent
bfd4662c36
commit
cbda652881
@@ -51,6 +51,13 @@
|
||||
# define dirent direct
|
||||
#endif
|
||||
|
||||
#ifndef CMSG_LEN
|
||||
#define CMSG_LEN(length) ((_CMSG_DATA_ALIGN(sizeof(struct cmsghdr))) + (length))
|
||||
#endif
|
||||
#ifndef CMSG_SPACE
|
||||
#define CMSG_SPACE(length) ((_CMSG_DATA_ALIGN(sizeof(struct cmsghdr))) + (_CMSG_DATA_ALIGN(length)))
|
||||
#endif
|
||||
|
||||
#include "extern.h"
|
||||
#include "list_generic.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user