Skip to content

Commit a9294b4

Browse files
author
Adrien Kunysz
committed
linux: include <poll.h> instead of <sys/poll.h>.
The <sys/poll.h> header is an old deprecated reference to the POSIX <poll.h> header. This works fine with the GNU C Library but musl libc emits a [warning](https://git.musl-libc.org/cgit/musl/commit/?id=54446d730cfb17c5f7bcf57f139458678f5066cc) when we refer to <sys/poll.h> insted of <poll.h>. This change updates the reference on Linux to use the new name.
1 parent b0d50ba commit a9294b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/psmove_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#ifdef __linux
4242
# include <unistd.h>
4343
# include <linux/limits.h>
44-
# include <sys/poll.h>
44+
# include <poll.h>
4545
#endif
4646

4747
#ifdef _WIN32

0 commit comments

Comments
 (0)