Fix stupid braino missing include for non js case

svn path=/trunk/netsurf/; revision=13965
This commit is contained in:
Vincent Sanders 2012-06-13 18:02:46 +00:00
parent 0be03dea20
commit a5f2a8cfba

View File

@ -20,6 +20,8 @@
* Dummy implementation of javascript engine functions.
*/
#include "content/content.h"
#include "javascript/js.h"
#include "utils/log.h"
@ -45,7 +47,7 @@ jsobject *js_newcompartment(jscontext *ctx, struct content* c)
return NULL;
}
bool js_exec(jscontext *ctx, char *txt, int txtlen)
bool js_exec(jscontext *ctx, const char *txt, int txtlen)
{
return true;
}