https://bugs.launchpad.net/gearmand/+bug/914495 --- gearmand-0.27/util/instance.cc.orig 2011-10-28 22:33:38.000000000 -0500 +++ gearmand-0.27/util/instance.cc 2012-01-12 20:02:51.303519844 -0600 @@ -48,6 +48,7 @@ #include #include #include +#include namespace datadifferential { --- gearmand-0.27/util/pidfile.cc.orig 2011-09-26 23:59:09.000000000 -0500 +++ gearmand-0.27/util/pidfile.cc 2012-01-12 20:42:49.747797880 -0600 @@ -48,6 +48,7 @@ #include #include #include +#include extern "C" {