summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-05-02 14:53:45 -0400
committerSimo Sorce <idra@samba.org>2012-05-04 16:51:28 +0200
commitb7b090395a830ad265c189793f25d4042c8f403e (patch)
tree126c24b2c89dd2374de2259b83e37388e3adf229 /lib/krb5_wrap
parenteb6e22bcab89619538e93d08ec70089a437c75e3 (diff)
downloadsamba-b7b090395a830ad265c189793f25d4042c8f403e.tar.gz
samba-b7b090395a830ad265c189793f25d4042c8f403e.tar.bz2
samba-b7b090395a830ad265c189793f25d4042c8f403e.zip
Fix krb5_samba.c build
Diffstat (limited to 'lib/krb5_wrap')
-rw-r--r--lib/krb5_wrap/krb5_samba.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c
index 10207b58bc..16327f1f92 100644
--- a/lib/krb5_wrap/krb5_samba.c
+++ b/lib/krb5_wrap/krb5_samba.c
@@ -55,6 +55,10 @@ krb5_error_code krb5_auth_con_set_req_cksumtype(
#define SMB_MALLOC(s) malloc((s))
#endif
+#ifndef SMB_STRDUP
+#define SMB_STRDUP(s) strdup(s)
+#endif
+
#if !defined(HAVE_KRB5_SET_DEFAULT_TGS_KTYPES)
#if defined(HAVE_KRB5_SET_DEFAULT_TGS_ENCTYPES)