summaryrefslogtreecommitdiff
path: root/modules/system.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-11-13 17:39:53 -0500
committerColin Walters <walters@verbum.org>2012-11-13 17:41:50 -0500
commite4d12cd64050da041dd283c09a6b2556797ec372 (patch)
treeea064a3d82f026cfe3c7865be876d9ad507b88ad /modules/system.h
parent58cddea1531fe98a8280dc1c73e2ce28e97273b9 (diff)
downloadgjs-e4d12cd64050da041dd283c09a6b2556797ec372.tar.gz
Use GNOME_COMPILE_WARNINGS([maximum])
In order to avoid getting spammed by warnings from including jsapi.h which we don't control, centralize its inclusion in one place, wrapping it with GCC pragmas to disable selected warnings. https://bugzilla.gnome.org/show_bug.cgi?id=688289
Diffstat (limited to 'modules/system.h')
-rw-r--r--modules/system.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/system.h b/modules/system.h
index 561cac07..ca093a62 100644
--- a/modules/system.h
+++ b/modules/system.h
@@ -27,8 +27,7 @@
#include <config.h>
#include <glib.h>
-
-#include <jsapi.h>
+#include "gjs/jsapi-util.h"
G_BEGIN_DECLS