mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 06:59:54 -05:00
Do not require ac/string.h for lber_pvt.h
This commit is contained in:
parent
603a92b5eb
commit
bf816cb7c0
1 changed files with 4 additions and 0 deletions
|
|
@ -201,6 +201,10 @@ ber_bvarray_dup_x LDAP_P(( BerVarray *dst, BerVarray src, void *ctx ));
|
|||
(dst)->bv_val = (bv)->bv_val; \
|
||||
} while (0)
|
||||
|
||||
#ifndef STRLENOF
|
||||
#define STRLENOF(s) (sizeof(s)-1)
|
||||
#endif
|
||||
|
||||
#define BER_BVC(s) { STRLENOF(s), (char *)(s) }
|
||||
#define BER_BVNULL { 0L, NULL }
|
||||
#define BER_BVZERO(bv) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue