summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2018-06-20 18:21:05 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2018-06-26 16:40:18 +0800
commitf353ba3acb02337b657ad8a7f93e36fd635a0a8a (patch)
treeefedeee061d82396267bc009b6ccc7f6bc9483dd
parenteebf151f2a0277c12210c0cf73ecc1963cee847d (diff)
downloadgtk+-f353ba3acb02337b657ad8a7f93e36fd635a0a8a.tar.gz
demos/gtk-demo/gtkfishbowl.c: Include gtk/fallback-c89.c
...in place of math.h, as we are using round(), which is possibly not provided by the compiler since we don't require a C99 compiler in GTK+-3.x and gtk/fallback-c89.c does include math.h anyways.
-rw-r--r--demos/gtk-demo/gtkfishbowl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/gtkfishbowl.c b/demos/gtk-demo/gtkfishbowl.c
index 5101210fd1..0b17c42fc2 100644
--- a/demos/gtk-demo/gtkfishbowl.c
+++ b/demos/gtk-demo/gtkfishbowl.c
@@ -19,7 +19,7 @@
#include "gtkfishbowl.h"
-#include <math.h>
+#include "gtk/fallback-c89.c"
typedef struct _GtkFishbowlPrivate GtkFishbowlPrivate;
typedef struct _GtkFishbowlChild GtkFishbowlChild;