Hi, The attached patch is necessary for building against glib2 2.31 or later. A change with the same effect has been committed on mainline already; the patch is for the 3.4 branch.
Regards Thomas
>From 4984a8fae0b024811d4161fdb3fccec54c8f2799 Mon Sep 17 00:00:00 2001 From: Thomas Moschny <[email protected]> Date: Wed, 14 Dec 2011 20:00:53 +0100 Subject: [PATCH] Starting with glib2 2.31.0, It is no longer possible to include individual headers (like "ghash.h") -- you must #include <glib.h>. Signed-off-by: Thomas Moschny <[email protected]> --- spawn.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/spawn.c b/spawn.c index 3c8cf07..a6d6c5e 100644 --- a/spawn.c +++ b/spawn.c @@ -24,7 +24,7 @@ #include <sys/types.h> #include <sys/wait.h> -#include <glib/gspawn.h> +#include <glib.h> #include "spawn.h" #include "screen.h" -- 1.7.7.4
