mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-01-03 21:00:12 +01:00
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:
parent
af7cb6a643
commit
e312ab76c4
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ typedef struct fd_set {
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* USE_POLL */
|
#else /* USE_POLL */
|
||||||
#include <sys/poll.h>
|
#include <poll.h>
|
||||||
#endif /* USE_POLL */
|
#endif /* USE_POLL */
|
||||||
|
|
||||||
#else /* WIN32 */
|
#else /* WIN32 */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue