blob: f5732f62bc449f7e6f120b7752eae3dccf94593b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
*** src/gated/task.h.orig Sun May 14 14:58:18 2000
--- src/gated/task.h Sun May 14 14:59:44 2000
***************
*** 321,327 ****
extern size_t task_recv_buffer_len;
! #if defined(SUNOS5_0) || !defined(HAVE_CMSG_SPACE)
#ifndef CMSG_ALIGN
#define CMSG_ALIGN(n) (((n) + 3) & ~3)
#define CMSG_SPACE(l) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(l))
--- 321,327 ----
extern size_t task_recv_buffer_len;
! #if (defined(SUNOS5_0) || !defined(HAVE_CMSG_SPACE)) && !defined(__FreeBSD__)
#ifndef CMSG_ALIGN
#define CMSG_ALIGN(n) (((n) + 3) & ~3)
#define CMSG_SPACE(l) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(l))
|