Use POSIX path for poll.h and fcntl.h headers
authorSitsofe Wheeler <sitsofe@yahoo.com>
Mon, 19 Mar 2018 05:43:41 +0000 (05:43 +0000)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Wed, 21 Mar 2018 22:09:28 +0000 (22:09 +0000)
commit8393ca93334319f066ce6abb44d0f4b4921abbe1
treeeacde3b02f82c9d8b15f87f2370fcfe35c245808
parent3d2d14bcb844e72809192311369a642c5d415472
Use POSIX path for poll.h and fcntl.h headers

musl complains when using include paths like <sys/poll.h> rather than
POSIX's <poll.h> so change the poll.h include path and update the
windows poll.h compatibility shim to match.

Allegedly sys/poll.h was needed for GLIBCs that were older than 2.3
according to
https://www.winehq.org/pipermail/wine-patches/2014-June/132877.html but
I can still see that path in an ancient Red Hat 5.0
glibc-devel-2.0.7-32.i386.rpm ...

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
12 files changed:
client.c
engines/binject.c
engines/net.c
engines/rdma.c
engines/sg.c
engines/splice.c
os/os-hpux.h
os/os-solaris.h
os/windows/posix.c
os/windows/posix/include/poll.h
os/windows/posix/include/sys/poll.h [deleted file]
server.c