[sr-dev] git:5.4:f3a872e9: http_async_client: include poll.h instead sys/poll.h
Daniel-Constantin Mierla
miconda at gmail.com
Thu Nov 19 13:41:01 CET 2020
Module: kamailio
Branch: 5.4
Commit: f3a872e9e8f780a23f7e3426ce4152a3a26cc448
URL: https://github.com/kamailio/kamailio/commit/f3a872e9e8f780a23f7e3426ce4152a3a26cc448
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/f3a872e9e8f780a23f7e3426ce4152a3a26cc448.diff
Patch: https://github.com/kamailio/kamailio/commit/f3a872e9e8f780a23f7e3426ce4152a3a26cc448.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