From: Junio C Hamano Date: Wed, 14 Nov 2018 07:32:16 GMT Subject: Re: [PATCH] git-compat-util: prefer poll.h to sys/poll.h Message-ID: In-Reply-To: <20181114011043.27419-1-congdanhqx@gmail.com> Đoàn Trần Công Danh writes: > -#ifndef NO_SYS_POLL_H > +#if !defined(NO_POLL_H) > +#include > +#elif !defined(NO_SYS_POLL_H) > #include > #else > +/* Pull the compat stuff */ > #include > #endif The last comment would help readers who got "Huh? When NO_POLL_H and NO_SYS_POLL_H is given, we still include " without it. Looks good. Thanks.