aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/CurlInputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-21 09:53:38 +0200
committerMax Kellermann <max@duempel.org>2013-10-21 09:54:21 +0200
commitc0421a57dacb5837c90608333be0c45a5d5fdc7e (patch)
tree65fd2074ca4dfcdf660bdc8a32bc8d1d445d1b44 /src/input/CurlInputPlugin.cxx
parent8f1ec1dfdf31d70561eb14ae89a2e6cf9291f521 (diff)
downloadmpd-c0421a57dacb5837c90608333be0c45a5d5fdc7e.tar.gz
mpd-c0421a57dacb5837c90608333be0c45a5d5fdc7e.tar.xz
mpd-c0421a57dacb5837c90608333be0c45a5d5fdc7e.zip
input/curl: don't use GLib's typedef "gushort"
Diffstat (limited to '')
-rw-r--r--src/input/CurlInputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
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 <forward_list>
#include <curl/curl.h>
+#include <glib.h>
#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