diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-06-26 15:40:12 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-06-26 13:04:01 +0100 |
commit | 9665b8ecd84c650804945104d1ffe4f06cce199f (patch) | |
tree | 5d4aef836dae7208a078a93486a2eb0a13cbaa8c /tools | |
parent | 11516f65d0a7a8f5b5c61ab53aac4e4cf3ec9a15 (diff) | |
download | dbus-9665b8ecd84c650804945104d1ffe4f06cce199f.tar.gz |
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 <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dbus-run-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/dbus-run-session.c b/tools/dbus-run-session.c index 4f0b32b5..4f7243f7 100644 --- a/tools/dbus-run-session.c +++ b/tools/dbus-run-session.c @@ -34,6 +34,7 @@ #include <sys/types.h> #include <sys/wait.h> +#include <signal.h> #define MAX_ADDR_LEN 512 #define PIPE_READ_END 0 |