aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_stream.c')
-rw-r--r--src/input_stream.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/input_stream.c b/src/input_stream.c
index 69dc644a2..0174b5a2e 100644
--- a/src/input_stream.c
+++ b/src/input_stream.c
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "input_plugin.h"
#include "config.h"
+#include "input_plugin.h"
#include "conf.h"
#include "input/file_input_plugin.h"
@@ -27,12 +27,10 @@
#include "input/archive_input_plugin.h"
#endif
-#ifdef HAVE_CURL
+#ifdef ENABLE_CURL
#include "input/curl_input_plugin.h"
#endif
-#include "input/lastfm_input_plugin.h"
-
#ifdef ENABLE_MMS
#include "input/mms_input_plugin.h"
#endif
@@ -46,12 +44,9 @@ static const struct input_plugin *const input_plugins[] = {
#ifdef ENABLE_ARCHIVE
&input_plugin_archive,
#endif
-#ifdef HAVE_CURL
+#ifdef ENABLE_CURL
&input_plugin_curl,
#endif
-#ifdef ENABLE_LASTFM
- &lastfm_input_plugin,
-#endif
#ifdef ENABLE_MMS
&input_plugin_mms,
#endif
@@ -139,7 +134,7 @@ input_stream_open(struct input_stream *is, const char *url)
}
bool
-input_stream_seek(struct input_stream *is, off_t offset, int whence)
+input_stream_seek(struct input_stream *is, goffset offset, int whence)
{
if (is->plugin->seek == NULL)
return false;