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
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#else
|
#else
|
||||||
|
# ifndef HAVE_WINSOCK2_H
|
||||||
#include <sys/_time.h>
|
#include <sys/_time.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_TIMERADD
|
#ifndef HAVE_TIMERADD
|
||||||
#include <sys/_timeradd.h>
|
#include <sys/_timeradd.h>
|
||||||
|
@ -49,7 +49,9 @@
|
|||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#else
|
#else
|
||||||
|
# ifndef HAVE_WINSOCK2_H
|
||||||
#include <sys/_time.h>
|
#include <sys/_time.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -34,7 +34,9 @@
|
|||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#else
|
#else
|
||||||
|
# ifndef HAVE_WINSOCK2_H
|
||||||
#include <sys/_time.h>
|
#include <sys/_time.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
#ifdef HAVE_SYS_SELECT_H
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user