From: Junio C Hamano Date: Wed, 14 Nov 2018 04:48:48 GMT Subject: Re: [PATCH] git-compat-util: prefer poll.h to sys/poll.h Message-ID: In-Reply-To: <20181114014307.GM890086@genre.crustytoothpaste.net> "brian m. carlson" writes: > On Wed, Nov 14, 2018 at 08:10:43AM +0700, Đoàn Trần Công Danh wrote: >> POSIX specifies that is the correct header for poll(2) >> whereas is only needed for some old libc. >> >> Let's follow the POSIX way by default. >> >> This effectively eliminates musl's warning: >> >> warning redirecting incorrect #include to >> >> Signed-off-by: Đoàn Trần Công Danh > > I think this patch is fine. This was in SUSv2, and I don't feel bad > about siding with a spec that's at least 17 years old. Yup, I agree. Thanks, both.