1
1

Winsock2.h also has definition for timeval and so on, it conflicts with our own definitions.

This commit was SVN r18009.
Этот коммит содержится в:
Shiqing Fan 2008-03-28 17:30:33 +00:00
родитель 90e53ca9ee
Коммит aaf2730fab
3 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -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>