aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-daemon.c
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2015-11-11 13:37:41 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-11-11 13:37:41 -0600
commit085d77f17e3bedd23ffa96fe7e4eb8515ae8bfc6 (patch)
tree925aa6b93ce22bd614e74659e1211aaae1ca6850 /src/librc/librc-daemon.c
parentc831f1f994e187afd8edfff15e4063b99440bbcb (diff)
Standardize macro tests for gnu hurd
This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb92.
Diffstat (limited to 'src/librc/librc-daemon.c')
-rw-r--r--src/librc/librc-daemon.c3
1 files changed, 2 insertions, 1 deletions
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)
{