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

[ecmascript] Compilation fixes

This commit is contained in:
Witold Filipczyk 2023-01-20 18:03:02 +01:00
parent 02c8c6e0b1
commit d2bbe4cf0a
3 changed files with 7 additions and 4 deletions

View File

@ -63,13 +63,16 @@
#ifdef CONFIG_ECMASCRIPT #ifdef CONFIG_ECMASCRIPT
#include "ecmascript/ecmascript.h" #include "ecmascript/ecmascript.h"
#include <libxml++/libxml++.h>
#include <map>
#endif #endif
#ifdef CONFIG_ECMASCRIPT_SMJS #ifdef CONFIG_ECMASCRIPT_SMJS
#include "ecmascript/spidermonkey.h" #include "ecmascript/spidermonkey.h"
#endif #endif
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
#include <libxml++/libxml++.h>
#include <map>
#endif
#include "main/module.h" #include "main/module.h"
#include "main/object.h" #include "main/object.h"
#include "network/dns.h" #include "network/dns.h"

View File

@ -33,7 +33,7 @@
#include "ecmascript/mujs/element.h" #include "ecmascript/mujs/element.h"
#endif #endif
#ifdef CONFIG_ECMASCRIPT #if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
#include <libxml++/libxml++.h> #include <libxml++/libxml++.h>
#include <map> #include <map>
#endif #endif

View File

@ -40,7 +40,7 @@
#include "ecmascript/mujs/element.h" #include "ecmascript/mujs/element.h"
#endif #endif
#ifdef CONFIG_ECMASCRIPT #if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
#include <libxml++/libxml++.h> #include <libxml++/libxml++.h>
#include <map> #include <map>
#endif #endif