From e652274733eeba8a753623dc61bd781c35f93c93 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 25 Feb 2013 21:51:35 +0100 Subject: Include or where needed cthreads.h includes both and , while pthreads.h does not; with the switch to pthreads, their lack causes prototype compilation warnings for malloc/calloc/free/abort, and mach_task_self/mach_reply_port/etc in few places. * console-client/vga-support.c: Include . * libiohelp/iouser-dup.c: Likewise. * libiohelp/iouser-free.c: Likewise. * libiohelp/iouser-reauth.c: Likewise. * libiohelp/return-buffer.c: Likewise. * libiohelp/shared.c: Likewise. * pflocal/connq.c: Likewise. * nfsd/cache.c: Include . --- libiohelp/shared.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libiohelp/shared.c') diff --git a/libiohelp/shared.c b/libiohelp/shared.c index 082b526b..b31a7170 100644 --- a/libiohelp/shared.c +++ b/libiohelp/shared.c @@ -18,6 +18,8 @@ #include "iohelp.h" +#include + /* These definitions exist to satisfy the linker. */ void __attribute__ ((weak)) -- cgit v1.2.3