1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-03 08:07:17 -05:00

Merge pull request #205 from thesamesam/mujs-build-fixes

Fix build failures with mujs
This commit is contained in:
rkd77 2023-01-01 08:38:15 +01:00 committed by GitHub
commit f2fa1d40e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

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

View File

@ -27,6 +27,10 @@
/* Unsafe macros */ /* Unsafe macros */
#include "document/html/internal.h" #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 #if 0 //def CONFIG_XML
#include <libxml++/libxml++.h> #include <libxml++/libxml++.h>
#endif #endif

View File

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