summaryrefslogtreecommitdiff
path: root/javascript/jsapi
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-12-20 17:17:42 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-12-20 17:17:42 +0000
commit27873fa9fee23c6cd0f498420c5130aec7379aa0 (patch)
treeb09a1dc21eb70c7c2c129ed1d54b89eb167f498e /javascript/jsapi
parentc0f9ae95b9f5ac169f225d2b52d57d05599b6772 (diff)
downloadnetsurf-27873fa9fee23c6cd0f498420c5130aec7379aa0.tar.gz
netsurf-27873fa9fee23c6cd0f498420c5130aec7379aa0.tar.bz2
add explicit stdlib include for definition of free()
Diffstat (limited to 'javascript/jsapi')
-rw-r--r--javascript/jsapi/event.bnd1
1 files changed, 1 insertions, 0 deletions
diff --git a/javascript/jsapi/event.bnd b/javascript/jsapi/event.bnd
index b0880d91e..b8b0aff47 100644
--- a/javascript/jsapi/event.bnd
+++ b/javascript/jsapi/event.bnd
@@ -16,6 +16,7 @@ hdrcomment "Released under the terms of the MIT License,";
hdrcomment " http://www.opensource.org/licenses/mit-license";
preamble %{
+#include <stdlib.h>
#include <dom/dom.h>