Skip to content

Commit

Permalink
Fix warning "redirecting incorrect #include <sys/poll.h> to <poll.h>"
Browse files Browse the repository at this point in the history
This warning occurs on Alpine with musl:

```
In file included from usb.cpp:22:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
```
  • Loading branch information
dallmair authored Dec 28, 2024
1 parent f94e798 commit aae46ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb/usb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <cstdlib>
#include <cerrno>
#include <sys/poll.h>
#include <poll.h>
#include "usb.h"
#include "types.h"

Expand Down

0 comments on commit aae46ae

Please sign in to comment.