diff options
author | Thomas Thurman <tthurman@gnome.org> | 2008-02-27 04:39:10 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-02-27 04:39:10 +0000 |
commit | 85631aec0f6b76f9e08afd12123555e07757397e (patch) | |
tree | 731dee6e4e4db0913a80d7dd3b8662d9439791f7 /src/tools | |
parent | 401b716cf5143fa69603c1b20f95f3745b1046ed (diff) | |
download | metacity-85631aec0f6b76f9e08afd12123555e07757397e.tar.gz |
Lots of tiny fixes to make sure we compile with "gcc -ansi -Werror".
2008-02-27 Thomas Thurman <tthurman@gnome.org>
Lots of tiny fixes to make sure we compile with
"gcc -ansi -Werror".
svn path=/trunk/; revision=3606
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/metacity-mag.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/metacity-mag.c b/src/tools/metacity-mag.c index 95498967..55da73cb 100644 --- a/src/tools/metacity-mag.c +++ b/src/tools/metacity-mag.c @@ -19,6 +19,9 @@ * 02111-1307, USA. */ +#define _GNU_SOURCE +#define _XOPEN_SOURCE 600 /* C99 -- for rint() */ + #include <gtk/gtk.h> #include <gdk/gdkx.h> #include <gdk/gdkkeysyms.h> |