|
|
|
@ -22855,6 +22855,19 @@ cat >>conftest.$ac_ext <<_ACEOF |
|
|
|
|
#include <signal.h> |
|
|
|
|
#include <sys/socket.h> |
|
|
|
|
|
|
|
|
|
#if !defined CMSG_SPACE || !defined CMSG_LEN |
|
|
|
|
#ifndef ALIGN |
|
|
|
|
#define ALIGN(len) len |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef CMSG_SPACE |
|
|
|
|
#define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len)) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef CMSG_LEN |
|
|
|
|
#define CMSG_LEN(len) (ALIGN(sizeof(struct cmsghdr)) + len) |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#define TEST "test" |
|
|
|
|
|
|
|
|
@ -23042,6 +23055,19 @@ cat >>conftest.$ac_ext <<_ACEOF |
|
|
|
|
#include <signal.h> |
|
|
|
|
#include <sys/socket.h> |
|
|
|
|
|
|
|
|
|
#if !defined CMSG_SPACE || !defined CMSG_LEN |
|
|
|
|
#ifndef ALIGN |
|
|
|
|
#define ALIGN(len) len |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef CMSG_SPACE |
|
|
|
|
#define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len)) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef CMSG_LEN |
|
|
|
|
#define CMSG_LEN(len) (ALIGN(sizeof(struct cmsghdr)) + len) |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#define TEST "test" |
|
|
|
|
|
|
|
|
|