diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-02-25 17:53:43 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-02-25 17:56:24 +0100 |
commit | de6323ba51fb8525fb1e48b0331c15daf86d5916 (patch) | |
tree | 15bd012ec13daec6156f4aa9b04ffea976c044f4 /src | |
parent | 3272261479c2a3ed860f71523497f5662ada55eb (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/librc/librc.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |