diff options
author | Damien Miller <djm@mindrot.org> | 2004-06-15 10:34:08 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-06-15 10:34:08 +1000 |
commit | 0e220dbfbcc9fe252e8f1f4890dbfa415aad35db (patch) | |
tree | b78bab0c628cd5bdb0ec95340f533a1be2fae75f /defines.h | |
parent | 05202ffe214115afa24bf6e7a6d8c8457e6759bb (diff) |
- djm@cvs.openbsd.org 2004/06/13 15:03:02
[channels.c channels.h clientloop.c clientloop.h includes.h readconf.c]
[readconf.h scp.1 sftp.1 ssh.1 ssh.c ssh_config.5]
implement session multiplexing in the client (the server has supported
this since 2.0); ok markus@
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.115 2004/04/14 07:24:30 dtucker Exp $ */ | 28 | /* $Id: defines.h,v 1.116 2004/06/15 00:34:08 djm Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -462,6 +462,9 @@ struct winsize { | |||
462 | (struct cmsghdr *)NULL) | 462 | (struct cmsghdr *)NULL) |
463 | #endif /* CMSG_FIRSTHDR */ | 463 | #endif /* CMSG_FIRSTHDR */ |
464 | 464 | ||
465 | #ifndef offsetof | ||
466 | # define offsetof(type, member) ((size_t) &((type *)0)->member) | ||
467 | #endif | ||
465 | 468 | ||
466 | /* Function replacement / compatibility hacks */ | 469 | /* Function replacement / compatibility hacks */ |
467 | 470 | ||