1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00

Fix build failures with mujs

Closes: https://github.com/rkd77/elinks/issues/204
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2022-12-31 21:06:57 +00:00
parent aa8d798981
commit 5cb6021918
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 9 additions and 0 deletions

View File

@ -41,6 +41,9 @@
/* Unsafe macros */
#include "document/html/internal.h"
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
#include "ecmascript/ecmascript.h"
#endif
void
html_span(struct html_context *html_context, char *a,

View File

@ -27,6 +27,10 @@
/* Unsafe macros */
#include "document/html/internal.h"
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
#include "ecmascript/ecmascript.h"
#endif
#if 0 //def CONFIG_XML
#include <libxml++/libxml++.h>
#endif

View File

@ -5,6 +5,8 @@
/* In the future you will get DOM, a complete ECMAScript interface and free
* plasm displays for everyone. */
#include <stdbool.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif