diff options
author | kanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-11 14:29:45 +0000 |
---|---|---|
committer | kanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-11 14:29:45 +0000 |
commit | 2a5aa8cdaa3343b8b9af17c3cdb827d6bae59dcc (patch) | |
tree | 6c10eaf952d1d7ac4b533a54ad040086f226e692 /time.c | |
parent | f078ced91f188f992931b0f0c30c0ef2e0c2f952 (diff) | |
download | ruby-2a5aa8cdaa3343b8b9af17c3cdb827d6bae59dcc.tar.gz |
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
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,10 @@ #include <float.h> #include <math.h> +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif + #include "timev.h" static ID id_divmod, id_mul, id_submicro, id_nano_num, id_nano_den, id_offset; |