summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-02 23:07:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:05 -0500
commitd2a57b63932496ba61ab2b9773eb959b6abaab8a (patch)
treea9878207ebde4418b09cc4ca6c975be9a1b39d12 /source3/include
parent0a2cc569a1803f459f7db77d03e6e90ae30aa35d (diff)
downloadsamba-d2a57b63932496ba61ab2b9773eb959b6abaab8a.tar.gz
samba-d2a57b63932496ba61ab2b9773eb959b6abaab8a.tar.bz2
samba-d2a57b63932496ba61ab2b9773eb959b6abaab8a.zip
r22049: HPUX build fixes from <don.mccall@hp.com>.
Jeremy. (This used to be commit b70af25e851b2695e552b10f1befb16e336fb36f)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8bdf9c992f..47be8bea90 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -173,6 +173,15 @@
#if HAVE_LBER_H
#include <lber.h>
+#ifdef HPUX
+/* Define ber_tag_t and ber_int_t for using
+ * HP LDAP-UX Integration products' LDAP libraries.
+*/
+#ifndef ber_tag_t
+typedef unsigned int ber_tag_t;
+typedef unsigned int ber_int_t;
+#endif
+#endif /* HPUX */
#ifndef LBER_USE_DER
#define LBER_USE_DER 0x01
#endif