summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-02-27 04:39:10 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-02-27 04:39:10 +0000
commit85631aec0f6b76f9e08afd12123555e07757397e (patch)
tree731dee6e4e4db0913a80d7dd3b8662d9439791f7 /src/tools
parent401b716cf5143fa69603c1b20f95f3745b1046ed (diff)
downloadmetacity-85631aec0f6b76f9e08afd12123555e07757397e.tar.gz
metacity-85631aec0f6b76f9e08afd12123555e07757397e.tar.bz2
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/metacity-mag.c b/src/tools/metacity-mag.c
index 9549896..55da73c 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>