From 2a5aa8cdaa3343b8b9af17c3cdb827d6bae59dcc Mon Sep 17 00:00:00 2001 From: kanemoto Date: Mon, 11 Jul 2011 14:29:45 +0000 Subject: time.c: can't compile time.c on AIX due to missing declaration for ffs(). It is declared in strings.h on AIX. If I need to add something like '&& defined(_AIX)', please let me know. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'time.c') diff --git a/time.c b/time.c index 5dbf9b22ca..95bdb1f504 100644 --- a/time.c +++ b/time.c @@ -23,6 +23,10 @@ #include #include +#ifdef HAVE_STRINGS_H +#include +#endif + #include "timev.h" static ID id_divmod, id_mul, id_submicro, id_nano_num, id_nano_den, id_offset; -- cgit v1.2.3