Winsock2.h also has definition for timeval and so on, it conflicts with our own definitions.
This commit was SVN r18009.
Этот коммит содержится в:
родитель
90e53ca9ee
Коммит
aaf2730fab
@ -40,7 +40,9 @@
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
# ifndef HAVE_WINSOCK2_H
|
||||
#include <sys/_time.h>
|
||||
# endif
|
||||
#endif
|
||||
#ifndef HAVE_TIMERADD
|
||||
#include <sys/_timeradd.h>
|
||||
|
@ -49,7 +49,9 @@
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
# ifndef HAVE_WINSOCK2_H
|
||||
#include <sys/_time.h>
|
||||
# endif
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -34,7 +34,9 @@
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
# ifndef HAVE_WINSOCK2_H
|
||||
#include <sys/_time.h>
|
||||
# endif
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SELECT_H
|
||||
#include <sys/select.h>
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user