Module: kamailio
Branch: master
Commit: 8f30c75cff7787a39f7c934e00e933b1beb43c20
URL:
https://github.com/kamailio/kamailio/commit/8f30c75cff7787a39f7c934e00e933b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/8f30c75cff7787a39f7c934e00e933b…
Patch:
https://github.com/kamailio/kamailio/commit/8f30c75cff7787a39f7c934e00e933b…
---
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>