summaryrefslogtreecommitdiff
path: root/security/ssh2/files/patch-aj
blob: 29e5e4712619630d496e9e8187b3b6c609a304c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- lib/sshutil/sshincludes.h.old	Wed May 17 18:39:44 2000
+++ lib/sshutil/sshincludes.h	Wed May 17 18:40:19 2000
@@ -166,7 +166,7 @@
 #define SSH_UID_ROOT 0
 #endif /* SSH_UID_ROOT */
 
-#ifdef SSHDIST_ZLIB
+#if defined(SSHDIST_ZLIB) && !defined(__FreeBSD__)
 /* Define zlib to have ssh prefix, so we will not care if there is another zlib
    in the kernel */
 #define deflateInit_            ssh_z_deflateInit_
@@ -202,6 +202,6 @@
 #define uLongf                  ssh_z_uLongf
 #define voidpf                  ssh_z_voidpf
 #define voidp                   ssh_z_voidp
-#endif /* SSHDIST_ZLIB */
+#endif /* SSHDIST_ZLIB && !__FreeBSD__ */
 
 #endif /* SSHINCLUDES_H */