From 497a22a727d3606c7327eb72efbf0d2c03607f0a Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Sun, 9 Aug 2015 11:55:28 +0100 Subject: scons: Build roundevent_test. Reviewed-by: Roland Scheidegger --- src/util/SConscript | 7 +++++++ src/util/rounding.h | 2 ++ 2 files changed, 9 insertions(+) (limited to 'src') diff --git a/src/util/SConscript b/src/util/SConscript index 9e4d481f838..3dbe70a2e8a 100644 --- a/src/util/SConscript +++ b/src/util/SConscript @@ -54,3 +54,10 @@ u_atomic_test = env.Program( ) alias = env.Alias("u_atomic_test", u_atomic_test, u_atomic_test[0].abspath) AlwaysBuild(alias) + +roundeven_test = env.Program( + target = 'roundeven_test', + source = ['roundeven_test.c'], +) +alias = env.Alias("roundeven_test", roundeven_test, roundeven_test[0].abspath) +AlwaysBuild(alias) diff --git a/src/util/rounding.h b/src/util/rounding.h index ec31b47264e..868e1b434db 100644 --- a/src/util/rounding.h +++ b/src/util/rounding.h @@ -24,6 +24,8 @@ #ifndef _ROUNDING_H #define _ROUNDING_H +#include "c99_compat.h" // inline + #include #include -- cgit v1.2.3