gearmand/gearmand-0.28-lp932994.patch
2012-03-07 11:49:52 -06:00

22 lines
627 B
Diff

Resolves https://bugs.launchpad.net/gearmand/+bug/932994
--- gearmand-0.28/util/pidfile.cc.orig 2011-08-17 10:38:30.000000000 -0500
+++ gearmand-0.28/util/pidfile.cc 2012-03-07 11:28:22.626664434 -0600
@@ -48,6 +48,7 @@
#include <sstream>
#include <sys/stat.h>
#include <sys/types.h>
+#include <unistd.h>
extern "C" {
--- gearmand-0.28/util/logfile.cc.orig 2011-08-17 10:38:30.000000000 -0500
+++ gearmand-0.28/util/logfile.cc 2012-03-07 11:48:21.600108725 -0600
@@ -49,6 +49,7 @@
#include <sstream>
#include <sys/stat.h>
#include <sys/types.h>
+#include <unistd.h>
namespace datadifferential {
namespace util {