Fix krb5_samba.c build
authorSimo Sorce <idra@samba.org>
Wed, 2 May 2012 18:53:45 +0000 (14:53 -0400)
committerSimo Sorce <idra@samba.org>
Fri, 4 May 2012 14:51:28 +0000 (16:51 +0200)
lib/krb5_wrap/krb5_samba.c

index 10207b58bc4e47ebafc945db6db9e3cd565955cf..16327f1f92b5ecdba366ec286568890a425cc7d0 100644 (file)
@@ -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)