summaryrefslogtreecommitdiffstats
path: root/src/kadmin/server/schpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kadmin/server/schpw.c')
-rw-r--r--src/kadmin/server/schpw.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kadmin/server/schpw.c b/src/kadmin/server/schpw.c
index 909d0f0e80..ddf6238862 100644
--- a/src/kadmin/server/schpw.c
+++ b/src/kadmin/server/schpw.c
@@ -7,6 +7,10 @@
#include "misc.h"
+#ifndef GETSOCKNAME_ARG3_TYPE
+#define GETSOCKNAME_ARG3_TYPE int
+#endif
+
krb5_error_code
process_chpw_request(context, server_handle, realm, s, keytab, sockin,
req, rep)
@@ -30,7 +34,7 @@ process_chpw_request(context, server_handle, realm, s, keytab, sockin,
krb5_ticket *ticket;
krb5_data cipher, clear;
struct sockaddr local_addr, remote_addr;
- int addrlen;
+ GETSOCKNAME_ARG3_TYPE addrlen;
krb5_replay_data replay;
krb5_error krberror;
int numresult;