[sr-dev] git:master:8f30c75c: http_async_client: include poll.h instead sys/poll.h

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 9 13:11:44 CET 2020


Module: kamailio
Branch: master
Commit: 8f30c75cff7787a39f7c934e00e933b1beb43c20
URL: https://github.com/kamailio/kamailio/commit/8f30c75cff7787a39f7c934e00e933b1beb43c20

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-11-09T12:31:24+01:00

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

- according to POSIX specs
- GH #2543

---

Modified: src/modules/http_async_client/http_multi.h

---

Diff:  https://github.com/kamailio/kamailio/commit/8f30c75cff7787a39f7c934e00e933b1beb43c20.diff
Patch: https://github.com/kamailio/kamailio/commit/8f30c75cff7787a39f7c934e00e933b1beb43c20.patch

---

diff --git a/src/modules/http_async_client/http_multi.h b/src/modules/http_async_client/http_multi.h
index c830daa9b1..10070eb6bd 100644
--- a/src/modules/http_async_client/http_multi.h
+++ b/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>




More information about the sr-dev mailing list