diff --git a/crypto/dist/krb4/lib/des/des.h b/crypto/dist/krb4/lib/des/des.h index 611df417b4d9..71f4268cf0d7 100644 --- a/crypto/dist/krb4/lib/des/des.h +++ b/crypto/dist/krb4/lib/des/des.h @@ -202,6 +202,7 @@ char *DES_LIB_FUNCTION des_fcrypt(const char *buf,const char *salt, char *ret); #ifdef PERL5 char *des_crypt(const char *buf,const char *salt); #else +#ifndef __NetBSD__ /* some stupid compilers complain because I have declared char instead * of const char */ #ifdef HEADER_DES_LOCL_H @@ -210,6 +211,7 @@ char *DES_LIB_FUNCTION crypt(const char *buf,const char *salt); char *crypt(); #endif #endif +#endif void DES_LIB_FUNCTION des_ofb_encrypt(unsigned char *in,unsigned char *out, int numbits,long length,des_key_schedule schedule,des_cblock *ivec); void DES_LIB_FUNCTION des_pcbc_encrypt(des_cblock *input,des_cblock *output,long length,