Browse Source

http_async_client: include poll.h instead sys/poll.h

- according to POSIX specs
- GH #2543
Daniel-Constantin Mierla 4 năm trước cách đây
mục cha
commit
8f30c75cff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/modules/http_async_client/http_multi.h

+ 1 - 1
src/modules/http_async_client/http_multi.h

@@ -37,7 +37,7 @@
 #include <sys/time.h>
 #include <time.h>
 #include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <curl/curl.h>
 #include <event2/event.h>
 #include <fcntl.h>