ad3046c8290fa95ef80628aeb5dcea90bb71d1d3
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dbus-cpp / 0001-gcc4.7.patch
1 Fix build failure with gcc 4.7+
2 From bugtracker: http://sourceforge.net/p/dbus-cplusplus/patches/13/
3
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5
6 diff --git a/include/dbus-c++/eventloop-integration.h b/include/dbus-c++/eventloop-integration.h
7 index 1b0302e..3e44304 100644
8 --- a/include/dbus-c++/eventloop-integration.h
9 +++ b/include/dbus-c++/eventloop-integration.h
10 @@ -26,6 +26,7 @@
11  #define __DBUSXX_EVENTLOOP_INTEGRATION_H
12  
13  #include <errno.h>
14 +#include <unistd.h>
15  #include "api.h"
16  #include "dispatcher.h"
17  #include "util.h"