summaryrefslogtreecommitdiff
path: root/gtk/gtkkineticscrolling.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-06-06 14:47:19 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-06-06 14:47:19 +0800
commitd8de23bef6d6ab17b3f31b99bb6e38f66c3a71de (patch)
tree640f4bb8223fb869e01d6ce4e271271a8f86128e /gtk/gtkkineticscrolling.c
parent763f0a37c1c5e22fb068a482dee3773f1157ded7 (diff)
downloadgtk+-d8de23bef6d6ab17b3f31b99bb6e38f66c3a71de.tar.gz
gtk/gtkkineticscrolling.c: Include fallback-c89.c
... as round() is being used, which is for C99 and later. fallback-c89.c includes math.h as well.
Diffstat (limited to 'gtk/gtkkineticscrolling.c')
-rw-r--r--gtk/gtkkineticscrolling.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkkineticscrolling.c b/gtk/gtkkineticscrolling.c
index 62f05c4595..09619707ef 100644
--- a/gtk/gtkkineticscrolling.c
+++ b/gtk/gtkkineticscrolling.c
@@ -18,9 +18,10 @@
#include "config.h"
#include "gtkkineticscrolling.h"
-#include <math.h>
#include <stdio.h>
+#include "fallback-c89.c"
+
/*
* All our curves are second degree linear differential equations, and
* so they can always be written as linear combinations of 2 base