1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-26 16:45:12 -04:00

[dcument] Compilation fix

This commit is contained in:
Witold Filipczyk 2023-11-27 18:33:44 +01:00
parent 51a9749028
commit 9dedc5779b

View File

@ -62,7 +62,7 @@
#include "document/refresh.h"
#include "document/renderer.h"
#ifdef CONFIG_ECMASCRIPT
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
#include "ecmascript/ecmascript-c.h"
#endif
@ -474,7 +474,7 @@ release_document(struct document *document)
if_assert_failed return;
if (document->refresh) kill_document_refresh(document->refresh);
#ifdef CONFIG_ECMASCRIPT
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
kill_ecmascript_timeouts(document);
free_list(document->timeouts);
#endif