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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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>


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to