Backup definition for MAXPATHLEN
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2504
dc483132-0cff-0310-8789-
dd5450dbe970
"$Id$";
#endif /* !lint & !SABER */
+#include <errno.h>
#include <krb5/krb5.h>
#include <krb5/kdb.h>
#include <krb5/los-proto.h>
#include "kdbint.h"
#include <krb5/sysincl.h> /* for MAXPATHLEN */
+/* Just in case sysincl.h didn't get it */
+
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
+
/*
* Put the KDC database master key into a file. If keyfile is NULL,
* then a default name derived from the principal name mname is used.