mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
A few compile fixes
You should _always_ #include "elinks.h" before other ELinks header files, to take care of CONFIG_DEBUG. Drop unused variable.
This commit is contained in:
parent
ccc6527bba
commit
4b132e0f63
@ -177,7 +177,6 @@ see_eval(struct ecmascript_interpreter *interpreter,
|
||||
struct SEE_input *input = SEE_input_elinks(interp, code->source);
|
||||
SEE_try_context_t try_ctxt;
|
||||
struct SEE_value result;
|
||||
struct SEE_value v;
|
||||
|
||||
g->exec_start = time(NULL);
|
||||
SEE_TRY(interp, try_ctxt) {
|
||||
|
@ -6,6 +6,9 @@
|
||||
|
||||
#include <see/see.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "elinks.h"
|
||||
|
||||
#include "ecmascript/see/input.h"
|
||||
#include "util/memory.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user