From: Chengwei Yang Date: Wed, 26 Jun 2013 07:40:12 +0000 (+0800) Subject: FreeBSD: explicit include signal.h to fix build failure X-Git-Tag: dbus-1.7.6~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9665b8ecd84c650804945104d1ffe4f06cce199f;p=thirdparty%2Fdbus.git FreeBSD: explicit include signal.h to fix build failure In Linux envrionment, signal.h included by sys/wait.h, however, this isn't the case in FreeBSD. So explicit include it to fix build failure. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66197 Signed-off-by: Chengwei Yang Reviewed-by: Simon McVittie --- diff --git a/tools/dbus-run-session.c b/tools/dbus-run-session.c index 4f0b32b52..4f7243f71 100644 --- a/tools/dbus-run-session.c +++ b/tools/dbus-run-session.c @@ -34,6 +34,7 @@ #include #include +#include #define MAX_ADDR_LEN 512 #define PIPE_READ_END 0