git.samba.org
/
jerry
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9a5c2
)
r23328: don't typedef ber_tag_t when it's already done by openldap
author
Stefan Metzmacher
<metze@samba.org>
Mon, 4 Jun 2007 08:01:48 +0000
(08:01 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:06 +0000
(12:23 -0500)
headers on HP-UX (lber_types.h defines _LBER_TYPES_H).
metze
source/include/includes.h
patch
|
blob
|
history
diff --git
a/source/include/includes.h
b/source/include/includes.h
index 0e90004bdbce4d18d035d1bf74813f51786ac394..9c7b3d1c1f6353d5edc7a120de3686afd25b77b8 100644
(file)
--- a/
source/include/includes.h
+++ b/
source/include/includes.h
@@
-173,7
+173,7
@@
#if HAVE_LBER_H
#include <lber.h>
-#if
def 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