#define NEED_SOCKETS
+#ifndef _WIN32
+#include "port-sockets.h"
+#endif
#include <krb5.h>
#include <krb.h>
#include <ldap.h>
#include <wshelper.h>
#include "krb5_err.h"
#else
-#include "port-sockets.h"
#include <sys/socket.h>
#include <netdb.h>
#include <sys/select.h>