+2001-11-05 Ezra Peisach <epeisach@mit.edu>
+
+ * sserver.c (main): Use GETPEERNAME_ARG3_TYPE instead of int.
+
2000-07-28 Ezra Peisach <epeisach@mit.edu>
* sserver.c (main): Include unistd.h if present (for close
extern krb5_deltat krb5_clockskew;
+#ifndef GETPEERNAME_ARG3_TYPE
+#define GETPEERNAME_ARG3_TYPE int
+#endif
+
#define DEBUG
static void
krb5_auth_context auth_context = NULL;
krb5_ticket * ticket;
struct sockaddr_in peername;
- int namelen = sizeof(peername);
+ GETPEERNAME_ARG3_TYPE namelen = sizeof(peername);
int sock = -1; /* incoming connection fd */
krb5_data recv_data;
short xmitlen;