From de6323ba51fb8525fb1e48b0331c15daf86d5916 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Sat, 25 Feb 2012 17:53:43 +0100 Subject: Fix rc_proc_getent() undeclared on BSD X-Gentoo-Bug: 405713 X-Gentoo-Bug-URL: https://bugs.gentoo.org/405713 Reported-by: Dmitri Bogomolov <4glitch@gmail.com> --- src/librc/librc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librc/librc.h b/src/librc/librc.h index 54c9a1ac..6d4cdc39 100644 --- a/src/librc/librc.h +++ b/src/librc/librc.h @@ -87,7 +87,9 @@ librc_hidden_proto(rc_find_pids) librc_hidden_proto(rc_getfile) librc_hidden_proto(rc_getline) librc_hidden_proto(rc_newer_than) +#ifdef __linux__ librc_hidden_proto(rc_proc_getent) +#endif librc_hidden_proto(rc_older_than) librc_hidden_proto(rc_runlevel_exists) librc_hidden_proto(rc_runlevel_get) -- cgit v1.2.3