--- metacity-2.34.1/src/tools/metacity-mag.c-orig 2011-07-07 01:52:51.078136410 -0500
+++ metacity-2.34.1/src/tools/metacity-mag.c 2011-07-07 01:52:57.208823525 -0500
@@ -20,7 +20,6 @@
*/
#define _GNU_SOURCE
-#define _XOPEN_SOURCE 600 /* C99 -- for rint() */
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
--- metacity-2.34.1/src/compositor/compositor-xrender.c-orig 2011-07-07 01:57:57.617813472 -0500
+++ metacity-2.34.1/src/compositor/compositor-xrender.c 2011-07-07 01:58:03.556717426 -0500
@@ -22,7 +22,6 @@
*/
#define _GNU_SOURCE
-#define _XOPEN_SOURCE 600 /* for usleep() */
#include <config.h>
--- metacity-2.34.1/src/ui/preview-widget.c-orig 2011-07-07 01:55:33.126033426 -0500
+++ metacity-2.34.1/src/ui/preview-widget.c 2011-07-07 01:55:38.085663697 -0500
@@ -22,7 +22,6 @@
*/
#define _GNU_SOURCE
-#define _XOPEN_SOURCE 600 /* for the maths routines over floats */
#include <math.h>
#include <gtk/gtk.h>
--- metacity-2.34.1/src/core/util.c-orig 2011-07-07 01:54:57.328178480 -0500
+++ metacity-2.34.1/src/core/util.c 2011-07-07 01:55:01.458153015 -0500
@@ -23,7 +23,6 @@
*/
#define _GNU_SOURCE
-#define _POSIX_C_SOURCE 200112L /* for fdopen() */
#include <config.h>
#include "util.h"
--- metacity-2.34.1/src/core/delete.c-orig 2011-07-07 02:12:22.251098030 -0500
+++ metacity-2.34.1/src/core/delete.c 2011-07-07 02:12:28.320960997 -0500
@@ -32,6 +32,7 @@
#include "workspace.h"
#include <sys/types.h>
+#include <sys/wait.h>
#include <signal.h>
#include <unistd.h>
#include <errno.h>