Browse Source

socklen_t fix

tags/v1.9.5
unknown Torben Hohn 16 years ago
parent
commit
7059609392
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      common/netjack.c
  2. +1
    -0
      common/netjack_packet.c

+ 1
- 0
common/netjack.c View File

@@ -42,6 +42,7 @@ $Id: net_driver.c,v 1.17 2006/04/16 20:16:10 torbenh Exp $
#ifdef WIN32
#include <winsock.h>
#include <malloc.h>
#define socklen_t int
#else
#include <sys/socket.h>
#include <netinet/in.h>


+ 1
- 0
common/netjack_packet.c View File

@@ -52,6 +52,7 @@
#include <winsock2.h>
#define socklen_t int
#include <malloc.h>
#define socklen_t int
#else
#include <sys/socket.h>
#include <netinet/in.h>


Loading…
Cancel
Save