#include <krb5/osconf.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#ifdef USE_DBM_LNAME
#include <krb5/dbm.h>
-#include <sys/file.h>
+#include <krb5/sysincl.h>
#endif
#ifndef min
#endif /* !lint & !SABER */
#include <krb5/copyright.h>
-
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
+#include <krb5/ext-proto.h>
#include <stdio.h>
-#include <krb5/ext-proto.h>
/*
Retrieves the default realm to be used if no user-specified realm is
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
-
-#include <stdio.h>
#include <krb5/ext-proto.h>
+#include <stdio.h>
/*
Figures out the Kerberos server names for the given realm, filling in a
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
-#include <errno.h>
+#include <krb5/sysincl.h>
#include <ctype.h>
-#include <sys/param.h>
+
+#include <stdio.h>
/* for old Unixes and friends ... */
#ifndef MAXHOSTNAMELEN
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/osconf.h>
-#include <stdio.h>
#include <krb5/ext-proto.h>
extern char *krb5_defkeyname;
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
-#include <sys/types.h>
-#include <sys/param.h> /* for MAXPATHLEN */
-#include <sys/file.h>
-#include <sys/stat.h>
+#include <krb5/sysincl.h>
+
+#include <stdio.h>
#include <pwd.h>
#define MAX_USERNAME 10
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/libos.h>
#include <stdio.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <stdio.h>
#include <errno.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include "os-proto.h"
#include <krb5/copyright.h>
-#include <sys/time.h> /* for timeval */
-#include <stdio.h> /* needed for libos-proto.h */
-
#include <krb5/config.h>
#include <krb5/krb5.h>
#include <krb5/libos-proto.h>
+#include <krb5/sysincl.h>
extern int errno;