summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorSitsofe Wheeler <sitsofe@yahoo.com>2018-03-19 05:43:41 +0000
committerSitsofe Wheeler <sitsofe@yahoo.com>2018-03-21 22:09:28 +0000
commit8393ca93334319f066ce6abb44d0f4b4921abbe1 (patch)
treeeacde3b02f82c9d8b15f87f2370fcfe35c245808 /server.c
parent3d2d14bcb844e72809192311369a642c5d415472 (diff)
downloadfio-8393ca93334319f066ce6abb44d0f4b4921abbe1.tar.gz
fio-8393ca93334319f066ce6abb44d0f4b4921abbe1.tar.bz2
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>
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 6f858109..3592ab17 100644
--- a/server.c
+++ b/server.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>