Commit a1883d20 authored by Pekka Pessi's avatar Pekka Pessi

win32 fixes.

darcs-hash:20060313133534-65a35-b6e5fc465760da7564b545fc5a5df242fd3ecdda.gz
parent 5dd07f56
...@@ -75,7 +75,7 @@ static void nua_session_usage_remove(nua_handle_t *nh, ...@@ -75,7 +75,7 @@ static void nua_session_usage_remove(nua_handle_t *nh,
static nua_usage_class const nua_session_usage[1] = { static nua_usage_class const nua_session_usage[1] = {
{ {
sizeof (/*struct event_usage */ void), 0 /* sizeof (struct session_usage) */,
sizeof nua_session_usage, sizeof nua_session_usage,
nua_session_usage_add, nua_session_usage_add,
nua_session_usage_remove, nua_session_usage_remove,
......
...@@ -126,6 +126,7 @@ enum { ...@@ -126,6 +126,7 @@ enum {
#define EADDRINUSE WSAEADDRINUSE #define EADDRINUSE WSAEADDRINUSE
#define EWOULDBLOCK WSAEWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK
#define EINPROGRESS WSAEINPROGRESS #define EINPROGRESS WSAEINPROGRESS
#define EADDRNOTAVAIL WSAEADDRNOTAVAIL
#endif #endif
/**@HI Maximum size of host name. */ /**@HI Maximum size of host name. */
......
...@@ -126,11 +126,10 @@ static struct gai_afd { ...@@ -126,11 +126,10 @@ static struct gai_afd {
#endif #endif
#if !SU_HAVE_IN6 #if !SU_HAVE_IN6
extern
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) #if defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
__declspec(dllimport) #else
extern int h_errno;
#endif #endif
int h_errno;
#endif #endif
static int get_name(const char *, struct gai_afd *, static int get_name(const char *, struct gai_afd *,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment