--- lib/sshutil/sshincludes.h.orig	Thu Aug 24 17:43:30 2000
+++ lib/sshutil/sshincludes.h	Sun Aug 27 01:22:27 2000
@@ -213,7 +213,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_
@@ -249,6 +249,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 */
