Windows fixes for gss-client.c
authorSam Hartman <hartmans@mit.edu>
Tue, 9 Aug 2011 20:07:39 +0000 (20:07 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 9 Aug 2011 20:07:39 +0000 (20:07 +0000)
commit1342ba2c1a140ed9d68303c5f8d15d3d87a23022
treece475a3260d17c905715ebfab84fd54a07e0c1a5
parentfee13cf6ecf3bbc5290a7c13bc93ab1132cbaca4
Windows fixes for gss-client.c

close(s) -> closesocket(s)
#include "port-sockets.h" (for closesocket())
#include "winsock.h" -> #include "winsock2.h" for consistency with port-sockets.h
call WSAStartup() before using sockets functions on Windows

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Signed-off-by: Sam Hartman <hartmans@painless-security.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25089 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/gss-sample/gss-client.c