Upower 0.9.10 includes glib-unix.h in src/up-main.c if the version of glib is 2.28.7 But I have checked glib sources, glib-unix.h is found in only 2.29.4, the latest version of glib. Due to this I can't build upower 0.9.10 with glib 2.28.7 on Gentoo. I think the version check of glib have to be fixed to the correct one. Please see the bug report of Gentoo. http://bugs.gentoo.org/show_bug.cgi?id=367363
commit 2b42890480f21d55a2516de9126a9d83a54742da Author: Richard Hughes <richard@hughsie.com> Date: Mon May 23 09:42:38 2011 +0100 Only include glib-unix.h if the GLib version is >= 2.29.4 Many thanks to Takahiro HASHIMOTO for debugging the problem. Fixes fdo#37489
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.