[gtk+] gtk/gtkkineticscrolling.c: Include fallback-c89.c
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtkkineticscrolling.c: Include fallback-c89.c
- Date: Fri, 6 Jun 2014 06:47:30 +0000 (UTC)
commit d8de23bef6d6ab17b3f31b99bb6e38f66c3a71de
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Jun 6 14:47:19 2014 +0800
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.
gtk/gtkkineticscrolling.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkkineticscrolling.c b/gtk/gtkkineticscrolling.c
index 62f05c4..0961970 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]