diff --git a/runloop.h b/runloop.h index 26fb9f7c32..ab0145e8f1 100644 --- a/runloop.h +++ b/runloop.h @@ -43,6 +43,9 @@ enum runloop_data_type DATA_TYPE_FILE, DATA_TYPE_IMAGE, DATA_TYPE_HTTP, +#ifdef HAVE_OVERLAY + DATA_TYPE_OVERLAY, +#endif }; typedef struct nbio_image_handle diff --git a/runloop_data.c b/runloop_data.c index 4dc5ee519a..354b63dc5e 100644 --- a/runloop_data.c +++ b/runloop_data.c @@ -684,6 +684,10 @@ void rarch_main_data_msg_queue_push(unsigned type, case DATA_TYPE_HTTP: queue = g_data_runloop.http.msg_queue; break; +#ifdef HAVE_OVERLAY + case DATA_TYPE_OVERLAY: + break; +#endif } if (!queue)