diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-19 08:25:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-19 08:25:16 +0400 |
commit | 13d684f7bb9494a7dbcf39f2d26e60b1ed2f1b76 (patch) | |
tree | 708f771da06c1a6abc727e66c5c926532fb3a688 /source/blender/blenlib/intern/math_base.c | |
parent | 3498e22468d9c1c326c9acaf820961c8c6a41c68 (diff) |
fix for implicit declaration, not sure why this happens but OpenSuse 11.1 wouldn't build.
Diffstat (limited to 'source/blender/blenlib/intern/math_base.c')
-rw-r--r-- | source/blender/blenlib/intern/math_base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_base.c b/source/blender/blenlib/intern/math_base.c index 686b35a878e..df8749c9ddd 100644 --- a/source/blender/blenlib/intern/math_base.c +++ b/source/blender/blenlib/intern/math_base.c @@ -52,7 +52,8 @@ double round(double x) y += 1.0; return copysign(y, x); } - +#else /* OpenSuse 11.1 seems to need this. */ +double round(double x); #endif |