Bug 798352 - Define EALREADY for VC9. r=rjesup

This commit is contained in:
Bill Gianopoulos 2012-10-05 16:54:51 -04:00
parent 415ed19020
commit b93c8a3e28
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <iostream>
#if !defined(__Userspace_os_Windows)
#include <arpa/inet.h>

View File

@ -8,6 +8,7 @@
#define NETWERK_SCTP_DATACHANNEL_DATACHANNEL_H_
#include <string>
#include <errno.h>
#include "nsISupports.h"
#include "nsCOMPtr.h"
#include "nsString.h"
@ -25,6 +26,10 @@
#include "mtransport/transportlayerprsock.h"
#endif
#ifndef EALREADY
#define EALREADY WSAEALREADY
#endif
extern "C" {
struct socket;
struct sctp_rcvinfo;