summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/SConscript7
-rw-r--r--src/util/rounding.h2
2 files changed, 9 insertions, 0 deletions
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 <math.h>
#include <limits.h>