diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | compress.c | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -43,6 +43,12 @@ | |||
43 | - djm@cvs.openbsd.org 2010/09/08 03:54:36 | 43 | - djm@cvs.openbsd.org 2010/09/08 03:54:36 |
44 | [authfile.c] | 44 | [authfile.c] |
45 | typo | 45 | typo |
46 | - deraadt@cvs.openbsd.org 2010/09/08 04:13:31 | ||
47 | [compress.c] | ||
48 | work around name-space collisions some buggy compilers (looking at you | ||
49 | gcc, at least in earlier versions, but this does not forgive your current | ||
50 | transgressions) seen between zlib and openssl | ||
51 | ok djm | ||
46 | 52 | ||
47 | 20100831 | 53 | 20100831 |
48 | - OpenBSD CVS Sync | 54 | - OpenBSD CVS Sync |
diff --git a/compress.c b/compress.c index c058d2224..24778e524 100644 --- a/compress.c +++ b/compress.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: compress.c,v 1.25 2006/08/06 01:13:32 stevesk Exp $ */ | 1 | /* $OpenBSD: compress.c,v 1.26 2010/09/08 04:13:31 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -17,12 +17,13 @@ | |||
17 | #include <sys/types.h> | 17 | #include <sys/types.h> |
18 | 18 | ||
19 | #include <stdarg.h> | 19 | #include <stdarg.h> |
20 | #include <zlib.h> | ||
21 | 20 | ||
22 | #include "log.h" | 21 | #include "log.h" |
23 | #include "buffer.h" | 22 | #include "buffer.h" |
24 | #include "compress.h" | 23 | #include "compress.h" |
25 | 24 | ||
25 | #include <zlib.h> | ||
26 | |||
26 | z_stream incoming_stream; | 27 | z_stream incoming_stream; |
27 | z_stream outgoing_stream; | 28 | z_stream outgoing_stream; |
28 | static int compress_init_send_called = 0; | 29 | static int compress_init_send_called = 0; |