summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-28 19:31:08 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-28 19:31:08 +0000
commit02385465718d41fbc220fa061be42813057702b2 (patch)
tree5692c196f7d01c74289a0794ebc717096c0b6346 /bignum.c
parent2dc1a7330c930d256ccda24f36cd86b4ac945776 (diff)
merge revision(s) 36455:
* bignum.c: Added #include <strings.h> for ffs(). Patch by Perry Smith. Thank you. [Bug #6748] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bignum.c b/bignum.c
index 8d024fe5cc..043906235f 100644
--- a/bignum.c
+++ b/bignum.c
@@ -13,6 +13,9 @@
#include "ruby/util.h"
#include "internal.h"
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
#include <math.h>
#include <float.h>
#include <ctype.h>