зеркало из https://github.com/github/ruby.git
* file.c: include sys/time.h only if HAVE_SYS_TIME_H
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
23abeeb769
Коммит
8980a9b47b
|
@ -1,3 +1,7 @@
|
|||
Sun Oct 12 01:37:11 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
|
||||
|
||||
* file.c: include sys/time.h only if HAVE_SYS_TIME_H
|
||||
|
||||
Sat Oct 11 22:29:40 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
|
||||
|
||||
* file.c (HAVE_UTIMENSAT): disabled for NativeClient.
|
||||
|
|
4
file.c
4
file.c
|
@ -32,7 +32,9 @@
|
|||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_FILE_H
|
||||
# include <sys/file.h>
|
||||
|
|
Загрузка…
Ссылка в новой задаче