Commit c0421a57 authored by Max Kellermann's avatar Max Kellermann

input/curl: don't use GLib's typedef "gushort"

parent 8f1ec1df
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#include <forward_list> #include <forward_list>
#include <curl/curl.h> #include <curl/curl.h>
#include <glib.h>
#if LIBCURL_VERSION_NUM < 0x071200 #if LIBCURL_VERSION_NUM < 0x071200
#error libcurl is too old #error libcurl is too old
...@@ -255,7 +256,7 @@ input_curl_resume(struct input_curl *c) ...@@ -255,7 +256,7 @@ input_curl_resume(struct input_curl *c)
static unsigned static unsigned
input_curl_fd_events(int fd, fd_set *rfds, fd_set *wfds, fd_set *efds) input_curl_fd_events(int fd, fd_set *rfds, fd_set *wfds, fd_set *efds)
{ {
gushort events = 0; unsigned events = 0;
if (FD_ISSET(fd, rfds)) { if (FD_ISSET(fd, rfds)) {
events |= MultiSocketMonitor::READ | MultiSocketMonitor::HANGUP events |= MultiSocketMonitor::READ | MultiSocketMonitor::HANGUP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment