#include <afs/stds.h>
#include <sys/types.h>
+#if defined(AFS_AIX_ENV) || defined(AFS_AUX_ENV) || defined(AFS_SUN5_ENV)
+#include <sys/systm.h>
+#endif
#include <time.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
* If the alternate decoder is not present, or returns -1, then
* assume the ticket is of the default style.
*/
- if (code == -1 && (kvno == RXKAD_TKT_TYPE_KERBEROS_V5)
- || (kvno == RXKAD_TKT_TYPE_KERBEROS_V5_ENCPART_ONLY)) {
+ if (code == -1 && ((kvno == RXKAD_TKT_TYPE_KERBEROS_V5)
+ || (kvno == RXKAD_TKT_TYPE_KERBEROS_V5_ENCPART_ONLY))) {
code =
tkt_DecodeTicket5(tix, tlen, tsp->get_key, tsp->get_key_rock,
kvno, client.name, client.instance, client.cell,