diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2018-11-14 08:10:43 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-14 16:32:24 +0900 |
commit | 2648ccc231b38206e2dafe9a6cc1ca0978bcef5e (patch) | |
tree | 41b4cd2c75ffdec1fd77bf9cf314a8078151ce5d /t/t9603/cvsroot | |
parent | Tenth batch for 2.20 (diff) | |
download | tgif-2648ccc231b38206e2dafe9a6cc1ca0978bcef5e.tar.xz |
git-compat-util: prefer poll.h to sys/poll.h
POSIX specifies that <poll.h> is the correct header for poll(2)
whereas <sys/poll.h> 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 <sys/poll.h> to <poll.h>
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9603/cvsroot')
0 files changed, 0 insertions, 0 deletions