diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-06-04 08:01:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:06 -0500 |
commit | bd1b28dd3e47c2f244baba4a239b0d6dca57f2d2 (patch) | |
tree | 6457b5f65d974db90ced3fa9ef672208a765cba3 /source/include/includes.h | |
parent | 7c9a5c2a3f012a06e9550dc0de7df460c2fd943b (diff) | |
download | samba-bd1b28dd3e47c2f244baba4a239b0d6dca57f2d2.tar.gz samba-bd1b28dd3e47c2f244baba4a239b0d6dca57f2d2.tar.xz samba-bd1b28dd3e47c2f244baba4a239b0d6dca57f2d2.zip |
r23328: don't typedef ber_tag_t when it's already done by openldap
headers on HP-UX (lber_types.h defines _LBER_TYPES_H).
metze
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 0e90004bdbc..9c7b3d1c1f6 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -173,7 +173,7 @@ #if HAVE_LBER_H #include <lber.h> -#ifdef HPUX +#if defined(HPUX) && !defined(_LBER_TYPES_H) /* Define ber_tag_t and ber_int_t for using * HP LDAP-UX Integration products' LDAP libraries. */ @@ -181,7 +181,7 @@ typedef unsigned long ber_tag_t; typedef int ber_int_t; #endif -#endif /* HPUX */ +#endif /* defined(HPUX) && !defined(_LBER_TYPES_H) */ #ifndef LBER_USE_DER #define LBER_USE_DER 0x01 #endif |