Browse Source

remove warnings

master
Felix von Leitner 16 years ago
parent
commit
b53d0d5208
  1. 2
      socket/socket_tcp6.c
  2. 2
      socket/socket_udp6.c

2
socket/socket_tcp6.c

@ -1,5 +1,6 @@
#include <sys/types.h>
#ifndef __MINGW32__
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
@ -7,6 +8,7 @@
#include <errno.h>
#include "haveip6.h"
#include "socket.h"
#include "ndelay.h"
#ifndef EAFNOSUPPORT
#define EAFNOSUPPORT EINVAL

2
socket/socket_udp6.c

@ -1,5 +1,6 @@
#include <sys/types.h>
#ifndef __MINGW32__
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
@ -7,6 +8,7 @@
#include <errno.h>
#include "haveip6.h"
#include "socket.h"
#include "ndelay.h"
#ifndef EAFNOSUPPORT
#define EAFNOSUPPORT EINVAL

Loading…
Cancel
Save