Module: kamailio
Branch: 5.4
Commit: f3a872e9e8f780a23f7e3426ce4152a3a26cc448
URL:
https://github.com/kamailio/kamailio/commit/f3a872e9e8f780a23f7e3426ce4152a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-11-19T13:26:53+01:00
http_async_client: include poll.h instead sys/poll.h
- according to POSIX specs
- GH #2543
(cherry picked from commit 8f30c75cff7787a39f7c934e00e933b1beb43c20)
---
Modified: src/modules/http_async_client/http_multi.h
---
Diff:
https://github.com/kamailio/kamailio/commit/f3a872e9e8f780a23f7e3426ce4152a…
Patch:
https://github.com/kamailio/kamailio/commit/f3a872e9e8f780a23f7e3426ce4152a…
---
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>