From 89c8a62a1078e770e12c47f06c8dbc9c2924e771 Mon Sep 17 00:00:00 2001 From: Gabriele Giacone <1o5g4r8o@gmail.com> Date: Tue, 21 Oct 2014 21:17:52 -0500 Subject: Fix rc_svcdir for GNU/kFreeBSD --- src/librc/rc.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librc') diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 5ef8d7fd..8f0e8899 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__) +#elif defined(__linux__) || defined(__FreeBSD_kernel__) #define RC_SVCDIR "/run/openrc" #else #define RC_SVCDIR RC_LIBEXECDIR "/init.d" -- cgit v1.2.3