libdbus-cPlusPlus/libdbus-c++-0.9.0-gcc-4.7.patch

12 lines
501 B
Diff

diff -Nru libdbus-c++-0.9.0.orig/include/dbus-c++/eventloop-integration.h libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h
--- libdbus-c++-0.9.0.orig/include/dbus-c++/eventloop-integration.h 2011-11-28 16:03:19.000000000 +0100
+++ libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h 2012-09-03 16:48:22.334507821 +0200
@@ -26,6 +26,7 @@
#define __DBUSXX_EVENTLOOP_INTEGRATION_H
#include <errno.h>
+#include <unistd.h>
#include "api.h"
#include "dispatcher.h"
#include "util.h"