diff options
| author | David E. Cross <dec@FreeBSD.org> | 2000-05-15 00:44:58 +0000 |
|---|---|---|
| committer | David E. Cross <dec@FreeBSD.org> | 2000-05-15 00:44:58 +0000 |
| commit | 6ce9858a52034ba3b9a3ba18429ca08c7ccd151b (patch) | |
| tree | d3a761000c0d095461bff2c461b590d3bdd5c4a3 /net/gated/files/patch-aj | |
| parent | b1c285afc596df1445b201b68c87b04bd1068b35 (diff) | |
Submitted by: dec
Oops, forgot the new patches.
Diffstat (limited to 'net/gated/files/patch-aj')
| -rw-r--r-- | net/gated/files/patch-aj | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/gated/files/patch-aj b/net/gated/files/patch-aj new file mode 100644 index 000000000000..f5732f62bc44 --- /dev/null +++ b/net/gated/files/patch-aj @@ -0,0 +1,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)) |
