From: Alvaro Soliverez Date: Mon, 7 Nov 2011 18:10:25 +0000 (-0300) Subject: sd-daemon: support for building sd-daemon.c with Bionic (Android) X-Git-Tag: v40~13 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ce095579172778ebde6a20176875ee2702ec3340;p=elogind.git sd-daemon: support for building sd-daemon.c with Bionic (Android) sd-daemon.h is a drop-in file, so we should make sure it doesn't break builds for anybody. https://bugs.freedesktop.org/show_bug.cgi?id=42675 --- diff --git a/src/sd-daemon.c b/src/sd-daemon.c index e68b70875..763e079b4 100644 --- a/src/sd-daemon.c +++ b/src/sd-daemon.c @@ -32,7 +32,11 @@ #include #include #include +#ifdef __BIONIC__ +#include +#else #include +#endif #include #include #include