projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ff95c
)
demos: Fix build
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 20 Jan 2017 10:17:33 +0000
(18:17 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 20 Jan 2017 10:17:33 +0000
(18:17 +0800)
Include gtk/fallback-c89.c so that we can ensure that we have round(), and
that file already includes math.h
demos/gtk-demo/gtkfishbowl.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/gtkfishbowl.c
b/demos/gtk-demo/gtkfishbowl.c
index 54ee7b057c1b7695c472d32dca03292e266b2d35..4f2a2d571f9c6312bf329e9e436075a9fdbbfc7a 100644
(file)
--- 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;