remove warnings

master
leitner 19 years ago
parent d361d81c64
commit 144fb41918

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

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

Loading…
Cancel
Save