diff --git a/tasks/tasks_internal.h b/tasks/tasks_internal.h index d264355f62..29c1403343 100644 --- a/tasks/tasks_internal.h +++ b/tasks/tasks_internal.h @@ -59,14 +59,6 @@ enum nbio_status_enum NBIO_STATUS_TRANSFER_PARSE_FREE }; -#ifdef HAVE_NETWORKING -typedef struct -{ - char *data; - size_t len; -} http_transfer_data_t; -#endif - typedef struct nbio_handle { enum image_type_enum image_type; @@ -81,6 +73,12 @@ typedef struct nbio_handle #ifdef HAVE_NETWORKING +typedef struct +{ + char *data; + size_t len; +} http_transfer_data_t; + void *task_push_http_transfer(const char *url, bool mute, const char *type, retro_task_callback_t cb, void *userdata);