* ext/date/date_core.c: include sys/time.h for avoiding implicit
declaration of gettimeofday(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
28d3acb045
commit
326dd6e0cc
@ -1,3 +1,8 @@
|
||||
Sun Mar 17 02:38:21 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* ext/date/date_core.c: include sys/time.h for avoiding implicit
|
||||
declaration of gettimeofday().
|
||||
|
||||
Sun Mar 17 00:55:31 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* include/ruby/missing.h: removed __linux__. it's unnecessary.
|
||||
|
@ -6,6 +6,9 @@
|
||||
#include "ruby/encoding.h"
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#if defined(HAVE_SYS_TIME_H)
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define NDEBUG
|
||||
#include <assert.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user