1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-26 16:45:12 -04: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 */
#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