mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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:
parent
aa8d798981
commit
5cb6021918
@ -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,
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user