$NetBSD: patch-bj,v 1.2 2002/11/26 22:02:46 cjep Exp $ diff -ru ../Orig/mozilla/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c ./directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c --- ../Orig/mozilla/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c Mon Jun 17 14:00:43 2002 +++ ./directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c Wed Sep 11 23:49:04 2002 @@ -187,6 +187,11 @@ #define EDEADLOCK -1 #endif +#if defined(NETBSD) +#define ENOTSUP -1 +#define EDEADLOCK -1 +#endif + /* XXX: need to verify that the -1 entries are correct (no mapping) */ static struct prldap_errormap_entry prldap_errormap[] = { { PR_OUT_OF_MEMORY_ERROR, ENOMEM },