aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriele Giacone <1o5g4r8o@gmail.com>2014-10-22 15:02:51 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-10-23 13:05:08 -0500
commit4ac289b5397a688393c596a9a01651c94d3b5711 (patch)
tree5b6e5a2682646fa48250a28160c50796e0d347a8 /src
parent875f03e27c3475675f7b9572b071dd8c26257be7 (diff)
Fix rc_svcdir for GNU/Hurd
Diffstat (limited to 'src')
-rw-r--r--src/librc/rc.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index 8f0e8899..34f09f24 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -42,7 +42,7 @@ extern "C" {
#define RC_LIBEXECDIR "@LIBEXECDIR@"
#if defined(PREFIX)
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"
-#elif defined(__linux__) || defined(__FreeBSD_kernel__)
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
#define RC_SVCDIR "/run/openrc"
#else
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"