Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | |
| 2 | sniped from ChromiumOS |
| 3 | |
| 4 | https://bugs.gentoo.org/424707 |
| 5 | |
| 6 | From 154f7861d19a2bd5c79c488f9989610971db451b Mon Sep 17 00:00:00 2001 |
| 7 | From: Han Shen <shenhan@google.com> |
| 8 | Date: Thu, 31 May 2012 16:49:35 -0700 |
| 9 | Subject: [PATCH] Fixed dbus-c++ gcc 4.7 building problem. |
| 10 | |
| 11 | Just add "unistd.h" inclusion to eventloop-integration.h. |
| 12 | |
| 13 | BUG=None |
| 14 | TEST=Manually built using gcc 4.7. |
| 15 | |
| 16 | Change-Id: I87bd1f90db6a4c974a5ed8134044e8be2034aff2 |
| 17 | Reviewed-on: https://gerrit.chromium.org/gerrit/24260 |
| 18 | Tested-by: Han Shen <shenhan@google.com> |
| 19 | Reviewed-by: Yunlian Jiang <yunlian@chromium.org> |
| 20 | Commit-Ready: Han Shen <shenhan@chromium.org> |
| 21 | Upstream-Status: Inappropriate [ not author, no upstream ] |
| 22 | Signed-off-by: Thilo Cestonaro <thilo.cestonaro@ts.fujitsu.com> |
| 23 | --- |
| 24 | include/dbus-c++/eventloop-integration.h | 1 + |
| 25 | 1 file changed, 1 insertion(+) |
| 26 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 27 | Index: libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h |
| 28 | =================================================================== |
| 29 | --- libdbus-c++-0.9.0.orig/include/dbus-c++/eventloop-integration.h |
| 30 | +++ libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h |
| 31 | @@ -26,6 +26,7 @@ |
| 32 | #define __DBUSXX_EVENTLOOP_INTEGRATION_H |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 33 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 34 | #include <errno.h> |
| 35 | +#include <unistd.h> |
| 36 | #include "api.h" |
| 37 | #include "dispatcher.h" |
| 38 | #include "util.h" |