blob: bf6870eb006470a70cd53616b0a8dd59bda90ee8 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001
2sniped from ChromiumOS
3
4https://bugs.gentoo.org/424707
5
6From 154f7861d19a2bd5c79c488f9989610971db451b Mon Sep 17 00:00:00 2001
7From: Han Shen <shenhan@google.com>
8Date: Thu, 31 May 2012 16:49:35 -0700
9Subject: [PATCH] Fixed dbus-c++ gcc 4.7 building problem.
10
11Just add "unistd.h" inclusion to eventloop-integration.h.
12
13BUG=None
14TEST=Manually built using gcc 4.7.
15
16Change-Id: I87bd1f90db6a4c974a5ed8134044e8be2034aff2
17Reviewed-on: https://gerrit.chromium.org/gerrit/24260
18Tested-by: Han Shen <shenhan@google.com>
19Reviewed-by: Yunlian Jiang <yunlian@chromium.org>
20Commit-Ready: Han Shen <shenhan@chromium.org>
21Upstream-Status: Inappropriate [ not author, no upstream ]
22Signed-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 Bishop316dfdd2018-06-25 12:45:53 -040027Index: 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 Bishop6e60e8b2018-02-01 10:27:11 -050033
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034 #include <errno.h>
35+#include <unistd.h>
36 #include "api.h"
37 #include "dispatcher.h"
38 #include "util.h"