From 64cdccf3fec2ca3c39237767af0876e0b07a0184 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Thu, 28 Nov 2013 14:36:34 -0500 Subject: [PATCH] lib: adds missing import of math.h in standard library MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/standard/math.nit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/standard/math.nit b/lib/standard/math.nit index eaaf2e6..04816e9 100644 --- a/lib/standard/math.nit +++ b/lib/standard/math.nit @@ -16,6 +16,10 @@ module math import kernel import collection +in "C header" `{ +#include +`} + redef class Int fun rand: Int is extern "kernel_Int_Int_rand_0" fun bin_and(i: Int): Int is extern "kernel_Int_Int_binand_0" -- 1.7.9.5