Skip to content

Commit

Permalink
As far as I know, POSIX always mandated poll.h, and sys/poll.h comes …
Browse files Browse the repository at this point in the history
…from

legacy systems. In any case, to the best of my knowledge on all systems
supported by Julia, including poll.h works. In contrast, on FreeBSD including
sys/poll.h triggers a warning.
  • Loading branch information
fingolfin committed Oct 22, 2020
1 parent 871ec3f commit 2dd9335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support/timefuncs.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <windows.h>
#else
#include <sys/time.h>
#include <sys/poll.h>
#include <poll.h>
#include <unistd.h>
#endif

Expand Down

0 comments on commit 2dd9335

Please sign in to comment.