xref: /OK3568_Linux_fs/buildroot/package/dbus-cpp/0001-gcc4.7.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFix build failure with gcc 4.7+
2*4882a593SmuzhiyunFrom bugtracker: http://sourceforge.net/p/dbus-cplusplus/patches/13/
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunSigned-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5*4882a593Smuzhiyun
6*4882a593Smuzhiyundiff --git a/include/dbus-c++/eventloop-integration.h b/include/dbus-c++/eventloop-integration.h
7*4882a593Smuzhiyunindex 1b0302e..3e44304 100644
8*4882a593Smuzhiyun--- a/include/dbus-c++/eventloop-integration.h
9*4882a593Smuzhiyun+++ b/include/dbus-c++/eventloop-integration.h
10*4882a593Smuzhiyun@@ -26,6 +26,7 @@
11*4882a593Smuzhiyun #define __DBUSXX_EVENTLOOP_INTEGRATION_H
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun #include <errno.h>
14*4882a593Smuzhiyun+#include <unistd.h>
15*4882a593Smuzhiyun #include "api.h"
16*4882a593Smuzhiyun #include "dispatcher.h"
17*4882a593Smuzhiyun #include "util.h"
18