diff options
Diffstat (limited to 'libports/inhibit-bucket-rpcs.c')
-rw-r--r-- | libports/inhibit-bucket-rpcs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libports/inhibit-bucket-rpcs.c b/libports/inhibit-bucket-rpcs.c index d4daa17d..41918cc4 100644 --- a/libports/inhibit-bucket-rpcs.c +++ b/libports/inhibit-bucket-rpcs.c @@ -19,6 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "ports.h" +#include <hurd.h> #include <cthreads.h> #include <hurd/ihash.h> @@ -31,7 +32,7 @@ ports_inhibit_bucket_rpcs (struct port_bucket *bucket) struct rpc_info *rpc; for (rpc = pi->current_rpcs; rpc; rpc = rpc->next) - thread_cancel (rpc->thread); + hurd_thread_cancel (rpc->thread); return 0; } |