From 4ac289b5397a688393c596a9a01651c94d3b5711 Mon Sep 17 00:00:00 2001 From: Gabriele Giacone <1o5g4r8o@gmail.com> Date: Wed, 22 Oct 2014 15:02:51 -0500 Subject: Fix rc_svcdir for GNU/Hurd --- src/librc/rc.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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" -- cgit v1.2.3