xorgproto: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Nov 28 01:00:01 UTC 2024
include/X11/Xpoll.h.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e312ab76c4d93f2e637ac0c73987b22cd43420c7
Author: psykose <alice at ayaya.dev>
Date: Sun Nov 17 08:36:09 2024 +0100
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>
diff --git a/include/X11/Xpoll.h.in b/include/X11/Xpoll.h.in
index 9f127e1..f7c42e6 100644
--- a/include/X11/Xpoll.h.in
+++ b/include/X11/Xpoll.h.in
@@ -163,7 +163,7 @@ typedef struct fd_set {
}
#else /* USE_POLL */
-#include <sys/poll.h>
+#include <poll.h>
#endif /* USE_POLL */
#else /* WIN32 */
More information about the xorg-commit
mailing list