Xpoll.h.in: use standard poll.h include

avoids a bunch of warnings when building against musl libc that warns
on this pedantically:

```
In file included from /usr/include/X11/Xpoll.h:166:
/usr/include/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings]
```

Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/92>
This commit is contained in:
psykose 2024-11-17 08:36:09 +01:00
parent af7cb6a643
commit e312ab76c4

View file

@ -163,7 +163,7 @@ typedef struct fd_set {
}
#else /* USE_POLL */
#include <sys/poll.h>
#include <poll.h>
#endif /* USE_POLL */
#else /* WIN32 */