Skip to content

Commit f868928

Browse files
committed
fix incorrect poll.h inclusion
sys/poll.h is a glibc legacy alias for poll.h. the latter is specified by POSIX, the former not. on glibc one of them just includes the other so it doesnt hurt.
1 parent 582b3ce commit f868928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <arpa/inet.h>
2828
#include <sys/types.h>
2929
#include <sys/socket.h>
30-
#include <sys/poll.h>
30+
#include <poll.h>
3131
#include <sys/wait.h>
3232
#include <fcntl.h>
3333
#include <time.h>

0 commit comments

Comments
 (0)