[cairo] [PATCH 1/5] cairo-script: Always include config.h first thing

Bryce Harrington bryce at osg.samsung.com
Wed Jun 17 02:05:36 PDT 2015


Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
 util/cairo-script/cairo-script-file.c        | 2 ++
 util/cairo-script/cairo-script-hash.c        | 2 ++
 util/cairo-script/cairo-script-interpreter.c | 2 ++
 util/cairo-script/cairo-script-objects.c     | 2 ++
 util/cairo-script/cairo-script-operators.c   | 2 ++
 util/cairo-script/cairo-script-scanner.c     | 2 ++
 util/cairo-script/cairo-script-stack.c       | 2 ++
 util/cairo-script/csi-bind.c                 | 3 +++
 util/cairo-script/csi-exec.c                 | 3 +++
 util/cairo-script/csi-replay.c               | 3 +++
 util/cairo-script/csi-trace.c                | 3 +++
 11 files changed, 26 insertions(+)

diff --git a/util/cairo-script/cairo-script-file.c b/util/cairo-script/cairo-script-file.c
index 0274a3e..e7c5376 100644
--- a/util/cairo-script/cairo-script-file.c
+++ b/util/cairo-script/cairo-script-file.c
@@ -32,6 +32,8 @@
  *	Chris Wilson <chris at chris-wilson.co.uk>
  */
 
+#include "config.h"
+
 #include "cairo-script-private.h"
 
 #include <stdio.h>
diff --git a/util/cairo-script/cairo-script-hash.c b/util/cairo-script/cairo-script-hash.c
index 4d11103..69af575 100644
--- a/util/cairo-script/cairo-script-hash.c
+++ b/util/cairo-script/cairo-script-hash.c
@@ -37,6 +37,8 @@
  *	Karl Tomlinson <karlt+ at karlt.net>, Mozilla Corporation
  */
 
+#include "config.h"
+
 #include "cairo-script-private.h"
 
 #include <stdlib.h>
diff --git a/util/cairo-script/cairo-script-interpreter.c b/util/cairo-script/cairo-script-interpreter.c
index 50170fc..f94e39a 100644
--- a/util/cairo-script/cairo-script-interpreter.c
+++ b/util/cairo-script/cairo-script-interpreter.c
@@ -32,6 +32,8 @@
  *	Chris Wilson <chris at chris-wilson.co.uk>
  */
 
+#include "config.h"
+
 #include <cairo.h>
 
 #include "cairo-script-private.h"
diff --git a/util/cairo-script/cairo-script-objects.c b/util/cairo-script/cairo-script-objects.c
index a625489..2d7937b 100644
--- a/util/cairo-script/cairo-script-objects.c
+++ b/util/cairo-script/cairo-script-objects.c
@@ -32,6 +32,8 @@
  *	Chris Wilson <chris at chris-wilson.co.uk>
  */
 
+#include "config.h"
+
 #include "cairo-script-private.h"
 
 #include <limits.h> /* INT_MAX */
diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c
index 0d6cafc..aa38823 100644
--- a/util/cairo-script/cairo-script-operators.c
+++ b/util/cairo-script/cairo-script-operators.c
@@ -32,6 +32,8 @@
  *	Chris Wilson <chris at chris-wilson.co.uk>
  */
 
+#include "config.h"
+
 /* TODO real path type */
 
 #include "cairo-script-private.h"
diff --git a/util/cairo-script/cairo-script-scanner.c b/util/cairo-script/cairo-script-scanner.c
index 84b45df..980c608 100644
--- a/util/cairo-script/cairo-script-scanner.c
+++ b/util/cairo-script/cairo-script-scanner.c
@@ -32,6 +32,8 @@
  *	Chris Wilson <chris at chris-wilson.co.uk>
  */
 
+#include "config.h"
+
 #include "cairo-script-private.h"
 
 #include <limits.h> /* INT_MAX */
diff --git a/util/cairo-script/cairo-script-stack.c b/util/cairo-script/cairo-script-stack.c
index b1d146c..ff1e91a 100644
--- a/util/cairo-script/cairo-script-stack.c
+++ b/util/cairo-script/cairo-script-stack.c
@@ -32,6 +32,8 @@
  *	Chris Wilson <chris at chris-wilson.co.uk>
  */
 
+#include "config.h"
+
 #include "cairo-script-private.h"
 
 #include <limits.h> /* INT_MAX */
diff --git a/util/cairo-script/csi-bind.c b/util/cairo-script/csi-bind.c
index 91b58fb..11f666a 100644
--- a/util/cairo-script/csi-bind.c
+++ b/util/cairo-script/csi-bind.c
@@ -1,3 +1,6 @@
+
+#include "config.h"
+
 #include <cairo.h>
 #include <cairo-script-interpreter.h>
 
diff --git a/util/cairo-script/csi-exec.c b/util/cairo-script/csi-exec.c
index d30b1c9..5648a95 100644
--- a/util/cairo-script/csi-exec.c
+++ b/util/cairo-script/csi-exec.c
@@ -1,3 +1,6 @@
+
+#include "config.h"
+
 #include <cairo.h>
 #include <cairo-script-interpreter.h>
 
diff --git a/util/cairo-script/csi-replay.c b/util/cairo-script/csi-replay.c
index 67fed3b..1309985 100644
--- a/util/cairo-script/csi-replay.c
+++ b/util/cairo-script/csi-replay.c
@@ -1,3 +1,6 @@
+
+#include "config.h"
+
 #include <cairo.h>
 #include <cairo-script-interpreter.h>
 
diff --git a/util/cairo-script/csi-trace.c b/util/cairo-script/csi-trace.c
index a0466a3..bed7236 100644
--- a/util/cairo-script/csi-trace.c
+++ b/util/cairo-script/csi-trace.c
@@ -1,3 +1,6 @@
+
+#include "config.h"
+
 #include <cairo-script.h>
 #include <cairo-script-interpreter.h>
 
-- 
1.9.1



More information about the cairo mailing list