]> andersk Git - moira.git/blobdiff - lib/kname_unparse.c
Build without krb4 if it's unavailable.
[moira.git] / lib / kname_unparse.c
index 71c3c2a71326994778fdc4e82e9fa7cfe43460aa..ca2f98620e803afe93f8cf3a0357e5036d4f7729 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id $
+/* $Id$
  *
  * Don't know why this function is not in libkrb.a.  It's the inverse
  * of kname_parse() which is there.
 
 #include <stdio.h>
 
-#include <des.h>
+#ifdef HAVE_KRB5
 #include <krb.h>
+#else
+#include <mr_krb.h>
+#endif
 
 RCSID("$Header$");
 
@@ -23,7 +26,7 @@ RCSID("$Header$");
  * to a static buffer, or NULL on error.
  */
 
-char *kname_unparse(char *p, char *i, char *r)
+char *mr_kname_unparse(char *p, char *i, char *r)
 {
   static char name[MAX_K_NAME_SZ];
   char *s;
This page took 0.338211 seconds and 4 git commands to generate.