]> git.sur5r.net Git - openldap/blobdiff - include/ldap_log.h
memcmp replacement fixes
[openldap] / include / ldap_log.h
index 7f1d6c7e86554c2f961c7c3a89de53184d0fce7c..6ac29089aed6d33e082befa327910b2b61a68d42 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  * 
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -114,6 +114,12 @@ LDAP_BEGIN_DECL
 #   ifdef LDAP_SYSLOG
     extern int ldap_syslog;
     extern int ldap_syslog_level;
+
+#      ifdef HAVE_EBCDIC
+#      define syslog   eb_syslog
+       extern void eb_syslog(int pri, const char *fmt, ...);
+#      endif
+
 #   endif /* LDAP_SYSLOG */
 
 /* this doesn't below as part of ldap.h */