From 085d77f17e3bedd23ffa96fe7e4eb8515ae8bfc6 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Wed, 11 Nov 2015 13:37:41 -0600 Subject: Standardize macro tests for gnu hurd This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb92. --- src/librc/librc-daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/librc') diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c index 4986f70d..09b2ce30 100644 --- a/src/librc/librc-daemon.c +++ b/src/librc/librc-daemon.c @@ -31,7 +31,8 @@ #include "queue.h" #include "librc.h" -#if defined(__linux__) || (defined (__FreeBSD_kernel__) && defined(__GLIBC__)) +#if defined(__linux__) || (defined (__FreeBSD_kernel__) && defined(__GLIBC__)) \ + || defined(__GNU__) static bool pid_is_exec(pid_t pid, const char *exec) { -- cgit v1.2.3