From c0421a57dacb5837c90608333be0c45a5d5fdc7e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 09:53:38 +0200 Subject: input/curl: don't use GLib's typedef "gushort" --- src/input/CurlInputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input') diff --git a/src/input/CurlInputPlugin.cxx b/src/input/CurlInputPlugin.cxx index f7ac88717..93529b5f3 100644 --- a/src/input/CurlInputPlugin.cxx +++ b/src/input/CurlInputPlugin.cxx @@ -51,6 +51,7 @@ #include #include +#include #if LIBCURL_VERSION_NUM < 0x071200 #error libcurl is too old @@ -255,7 +256,7 @@ input_curl_resume(struct input_curl *c) static unsigned 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)) { events |= MultiSocketMonitor::READ | MultiSocketMonitor::HANGUP -- cgit v1.2.3