kfm needs this first so when you include com_err.h from afs as a side effect of krb5.h we don't explode
/* #include <krb.h> */
#endif /* 0 */
+#include <afs/stds.h>
#include <krb5.h>
#ifdef WINDOWS
-#include <afs/stds.h>
#include <afs/auth.h>
#include <rx/rxkad.h>
#include <afs/dirpath.h>
#else /* !WINDOWS */
-#include <afs/stds.h>
#ifndef HAVE_KERBEROSV_HEIM_ERR_H
#include <afs/com_err.h>
#endif
#endif /* HAVE_STRINGS_H */
#endif /* HAVE_STRING_H */
+#include <afs/stds.h>
#include <krb5.h>
-#include <afs/stds.h>
#include <afs/com_err.h>
#include <afs/cellconfig.h>
#include <afs/keys.h>