[gjs/wip/xulrunner-1.9.3: 2/6] xulrunner 1.9.3: Consistently include compat.h



commit d4ecf809c0fe68d982fc6c11a55a55ecb1af95d7
Author: Colin Walters <walters verbum org>
Date:   Fri Sep 17 19:37:28 2010 -0400

    xulrunner 1.9.3: Consistently include compat.h

 gi/arg.c               |    1 +
 gi/boxed.c             |    1 +
 gi/closure.c           |    1 +
 gi/enumeration.c       |    1 +
 gi/foreign.c           |    1 +
 gi/function.c          |    1 +
 gi/keep-alive.c        |    1 +
 gi/ns.c                |    1 +
 gi/object.c            |    1 +
 gi/param.c             |    1 +
 gi/repo.c              |    1 +
 gi/union.c             |    1 +
 gi/value.c             |    1 +
 gjs/byteArray.c        |    1 +
 gjs/console.c          |    1 +
 gjs/context.c          |    1 +
 gjs/importer.c         |    1 +
 gjs/jsapi-private.cpp  |    1 +
 gjs/jsapi-util-array.c |    1 +
 gjs/jsapi-util.c       |    1 +
 gjs/mem.c              |    1 +
 gjs/native.c           |    1 +
 gjs/profiler.c         |    1 +
 gjs/stack.c            |    1 +
 modules/dbus-exports.c |    1 +
 modules/dbus-values.c  |    1 +
 26 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/gi/arg.c b/gi/arg.c
index c17a2b9..b52a86d 100644
--- a/gi/arg.c
+++ b/gi/arg.c
@@ -31,6 +31,7 @@
 #include "value.h"
 #include "gjs/byteArray.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 
diff --git a/gi/boxed.c b/gi/boxed.c
index adc9bd7..7c8ffbb 100644
--- a/gi/boxed.c
+++ b/gi/boxed.c
@@ -29,6 +29,7 @@
 #include "arg.h"
 #include "object.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 #include "repo.h"
 #include "function.h"
 
diff --git a/gi/closure.c b/gi/closure.c
index 7cf084c..209fcdf 100644
--- a/gi/closure.c
+++ b/gi/closure.c
@@ -30,6 +30,7 @@
 #include "closure.h"
 #include "keep-alive.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 typedef struct {
     GClosure base;
diff --git a/gi/enumeration.c b/gi/enumeration.c
index a8370c4..9bdc8a2 100644
--- a/gi/enumeration.c
+++ b/gi/enumeration.c
@@ -26,6 +26,7 @@
 #include <string.h>
 
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 #include "repo.h"
 
 #include <util/log.h>
diff --git a/gi/foreign.c b/gi/foreign.c
index a64efb4..a921a15 100644
--- a/gi/foreign.c
+++ b/gi/foreign.c
@@ -25,6 +25,7 @@
 
 #include <string.h>
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 #include <girepository.h>
 
 #include "arg.h"
diff --git a/gi/function.c b/gi/function.c
index b8aa2a0..7985b12 100644
--- a/gi/function.c
+++ b/gi/function.c
@@ -29,6 +29,7 @@
 #include "boxed.h"
 #include "union.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 
diff --git a/gi/keep-alive.c b/gi/keep-alive.c
index 8e2c4ab..fce6513 100644
--- a/gi/keep-alive.c
+++ b/gi/keep-alive.c
@@ -26,6 +26,7 @@
 #include "keep-alive.h"
 
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 #include <util/glib.h>
diff --git a/gi/ns.c b/gi/ns.c
index 85652dd..84d09ed 100644
--- a/gi/ns.c
+++ b/gi/ns.c
@@ -27,6 +27,7 @@
 #include "repo.h"
 #include "param.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 
diff --git a/gi/object.c b/gi/object.c
index caacce5..7a0acfb 100644
--- a/gi/object.c
+++ b/gi/object.c
@@ -34,6 +34,7 @@
 #include "gjs_gi_trace.h"
 
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 
diff --git a/gi/param.c b/gi/param.c
index fb826c6..0a16848 100644
--- a/gi/param.c
+++ b/gi/param.c
@@ -28,6 +28,7 @@
 #include "param.h"
 #include "repo.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 
diff --git a/gi/repo.c b/gi/repo.c
index cff1b24..bb215bb 100644
--- a/gi/repo.c
+++ b/gi/repo.c
@@ -34,6 +34,7 @@
 #include "foreign.h"
 
 #include <gjs/mem.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 #include <util/misc.h>
diff --git a/gi/union.c b/gi/union.c
index ff99568..77c70ce 100644
--- a/gi/union.c
+++ b/gi/union.c
@@ -32,6 +32,7 @@
 #include "arg.h"
 #include "object.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 #include "repo.h"
 #include "function.h"
 
diff --git a/gi/value.c b/gi/value.c
index f1b8a59..2abc2cd 100644
--- a/gi/value.c
+++ b/gi/value.c
@@ -33,6 +33,7 @@
 #include "boxed.h"
 #include "union.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <girepository.h>
 
diff --git a/gjs/byteArray.c b/gjs/byteArray.c
index d0157e9..bf0a7d8 100644
--- a/gjs/byteArray.c
+++ b/gjs/byteArray.c
@@ -26,6 +26,7 @@
 #include <glib.h>
 #include "byteArray.h"
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 #include <util/log.h>
 #include <jsapi.h>
 
diff --git a/gjs/console.c b/gjs/console.c
index f00631b..2fbd7cf 100644
--- a/gjs/console.c
+++ b/gjs/console.c
@@ -28,6 +28,7 @@
 
 #include <util/log.h>
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 static char **include_path = NULL;
 static char *command = NULL;
diff --git a/gjs/context.c b/gjs/context.c
index 635e31d..c64d91f 100644
--- a/gjs/context.c
+++ b/gjs/context.c
@@ -30,6 +30,7 @@
 #include "profiler.h"
 #include "native.h"
 #include "byteArray.h"
+#include "compat.h"
 
 #include <util/log.h>
 #include <util/error.h>
diff --git a/gjs/importer.c b/gjs/importer.c
index f2d1bd1..81b87e4 100644
--- a/gjs/importer.c
+++ b/gjs/importer.c
@@ -29,6 +29,7 @@
 #include <jsapi.h>
 
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <string.h>
 
diff --git a/gjs/jsapi-private.cpp b/gjs/jsapi-private.cpp
index b27935a..d541818 100644
--- a/gjs/jsapi-private.cpp
+++ b/gjs/jsapi-private.cpp
@@ -29,6 +29,7 @@
 
 #include "jsapi-util.h"
 #include "jsapi-private.h"
+#include "compat.h"
 #include "context-jsapi.h"
 
 #include <string.h>
diff --git a/gjs/jsapi-util-array.c b/gjs/jsapi-util-array.c
index b4c7360..15dee53 100644
--- a/gjs/jsapi-util-array.c
+++ b/gjs/jsapi-util-array.c
@@ -24,6 +24,7 @@
 #include <config.h>
 
 #include "jsapi-util.h"
+#include "compat.h"
 
 /* Maximum number of elements allowed in a GArray of rooted jsvals.
  * We pre-alloc that amount and then never allow the array to grow,
diff --git a/gjs/jsapi-util.c b/gjs/jsapi-util.c
index e2f7f14..3ee95ab 100644
--- a/gjs/jsapi-util.c
+++ b/gjs/jsapi-util.c
@@ -30,6 +30,7 @@
 
 #include "jsapi-util.h"
 #include "context-jsapi.h"
+#include "compat.h"
 #include "jsapi-private.h"
 
 #include <string.h>
diff --git a/gjs/mem.c b/gjs/mem.c
index bae6271..5e5ff01 100644
--- a/gjs/mem.c
+++ b/gjs/mem.c
@@ -24,6 +24,7 @@
 #include <config.h>
 
 #include "mem.h"
+#include "compat.h"
 #include <util/log.h>
 
 #define GJS_DEFINE_COUNTER(name)             \
diff --git a/gjs/native.c b/gjs/native.c
index a1d162d..48175e3 100644
--- a/gjs/native.c
+++ b/gjs/native.c
@@ -28,6 +28,7 @@
 #include <util/log.h>
 
 #include "native.h"
+#include "compat.h"
 #include "jsapi-util.h"
 
 typedef struct {
diff --git a/gjs/profiler.c b/gjs/profiler.c
index dbcf9f1..c579400 100644
--- a/gjs/profiler.c
+++ b/gjs/profiler.c
@@ -25,6 +25,7 @@
 
 #include "profiler.h"
 #include <jsdbgapi.h>
+#include "compat.h"
 
 #include <signal.h>
 #include <sys/types.h>
diff --git a/gjs/stack.c b/gjs/stack.c
index 410fc24..d976c4a 100644
--- a/gjs/stack.c
+++ b/gjs/stack.c
@@ -45,6 +45,7 @@
 #include <glib.h>
 #include <string.h>
 #include <jsdbgapi.h>
+#include "compat.h"
 
 static const char*
 jsvalue_to_string(JSContext* cx, jsval val, gboolean* is_string)
diff --git a/modules/dbus-exports.c b/modules/dbus-exports.c
index 99259a0..0503401 100644
--- a/modules/dbus-exports.c
+++ b/modules/dbus-exports.c
@@ -27,6 +27,7 @@
 #include "gjs-dbus/dbus.h"
 
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <util/log.h>
 
diff --git a/modules/dbus-values.c b/modules/dbus-values.c
index ec8145a..b76f796 100644
--- a/modules/dbus-values.c
+++ b/modules/dbus-values.c
@@ -24,6 +24,7 @@
 #include "dbus-values.h"
 
 #include <gjs/gjs.h>
+#include <gjs/compat.h>
 
 #include <gjs-dbus/dbus.h>
 #include <util/log.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]