(main): Fix type of variable 'i' used for size of socket address.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17510
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-11-28 Ken Raeburn <raeburn@mit.edu>
+
+ * test_getsockname.c: Include autoconf.h.
+ (main): Fix type of variable 'i' used for size of socket address.
+
2005-05-31 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (test_getpw): Depend on, and link against, the
#include <netdb.h>
#include <stdio.h>
#include <string.h>
+#include "krb5/autoconf.h"
int
main(argc, argv)
int argc;
char *argv[];
{
- int sock, i;
+ int sock;
+ GETSOCKNAME_ARG3_TYPE i;
struct hostent *host;
struct sockaddr_in s_sock; /* server address */
struct sockaddr_in c_sock; /* client address */