1
1

* global.h [!HAVE_SYS_TIME_H]: Provide a replacement for struct

timeval.
Этот коммит содержится в:
Pavel Roskin 2002-01-21 22:46:22 +00:00
родитель d9c035d2c2
Коммит d99d279148
2 изменённых файлов: 10 добавлений и 0 удалений

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

@ -1,5 +1,8 @@
2002-01-21 Pavel Roskin <proski@gnu.org>
* global.h [!HAVE_SYS_TIME_H]: Provide a replacement for struct
timeval.
* findme.c: Respect HAVE_UNISTD_H.
* popt.c: Likewise.

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

@ -31,6 +31,13 @@
# endif
#endif
#ifndef HAVE_SYS_TIME_H
struct timeval {
long int tv_sec; /* seconds */
long int tv_usec; /* microseconds */
};
#endif /* !HAVE_SYS_TIME_H */
#ifdef HAVE_UTIME_H
# include <utime.h>
#elif defined(HAVE_SYS_UTIME_H)