summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--defines.h11
2 files changed, 7 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index e78fd929f..1eb83eff0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
6 Antti Tapaninen <aet@cc.hut.fi> 6 Antti Tapaninen <aet@cc.hut.fi>
7 - (djm) Define BROKEN_REALPATH for AIX, patch from 7 - (djm) Define BROKEN_REALPATH for AIX, patch from
8 Antti Tapaninen <aet@cc.hut.fi> 8 Antti Tapaninen <aet@cc.hut.fi>
9 - (djm) Bug #213: Simplify CMSG_ALIGN macros to avoid symbol clashes.
10 Reported by Doug Manton <dmanton@emea.att.com>
9 - (djm) Bug #222: Fix tests for getaddrinfo on OSF/1. Spotted by 11 - (djm) Bug #222: Fix tests for getaddrinfo on OSF/1. Spotted by
10 Robert Urban <urban@spielwiese.de> 12 Robert Urban <urban@spielwiese.de>
11 - (djm) Make privsep work with PAM (still experimental) 13 - (djm) Make privsep work with PAM (still experimental)
@@ -480,4 +482,4 @@
480 - (stevesk) entropy.c: typo in debug message 482 - (stevesk) entropy.c: typo in debug message
481 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 483 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
482 484
483$Id: ChangeLog,v 1.2074 2002/04/23 12:52:45 djm Exp $ 485$Id: ChangeLog,v 1.2075 2002/04/23 12:59:51 djm Exp $
diff --git a/defines.h b/defines.h
index c6b08c403..f74ca0d82 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
1#ifndef _DEFINES_H 1#ifndef _DEFINES_H
2#define _DEFINES_H 2#define _DEFINES_H
3 3
4/* $Id: defines.h,v 1.87 2002/04/23 10:23:00 djm Exp $ */ 4/* $Id: defines.h,v 1.88 2002/04/23 12:59:51 djm Exp $ */
5 5
6 6
7/* Constants */ 7/* Constants */
@@ -393,14 +393,11 @@ struct winsize {
393# define howmany(x,y) (((x)+((y)-1))/(y)) 393# define howmany(x,y) (((x)+((y)-1))/(y))
394#endif 394#endif
395 395
396#ifndef ALIGNBYTES 396#ifndef OSSH_ALIGNBYTES
397#define ALIGNBYTES (sizeof(int) - 1) 397#define OSSH_ALIGNBYTES (sizeof(int) - 1)
398#endif
399#ifndef ALIGN
400#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
401#endif 398#endif
402#ifndef __CMSG_ALIGN 399#ifndef __CMSG_ALIGN
403#define __CMSG_ALIGN(len) ALIGN(len) 400#define __CMSG_ALIGN(p) (((u_int)(p) + OSSH_ALIGNBYTES) &~ OSSH_ALIGNBYTES)
404#endif 401#endif
405 402
406/* Length of the contents of a control message of length len */ 403/* Length of the contents of a control message of length len */