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,8 +40,10 @@
#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>
#endif

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

@ -49,8 +49,10 @@
#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>
#include <stdarg.h>

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

@ -34,8 +34,10 @@
#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>
#endif