babl r394 - in trunk: . babl babl/base extensions tests



Author: neo
Date: Tue Feb 24 21:17:27 2009
New Revision: 394
URL: http://svn.gnome.org/viewvc/babl?rev=394&view=rev

Log:
2009-02-24  Sven Neumann  <sven gimp org>

	* */*.c: based on a patch from Gary V. Vaughan, include 
"config.h"
	before any other header file from all .c files.

	* babl/babl-internal.h
	* extensions/util.h: instead of including config.h from here, 
bail
	out if it wasn't included beforehand.



Modified:
   trunk/ChangeLog
   trunk/babl/babl-component.c
   trunk/babl/babl-conversion.c
   trunk/babl/babl-core.c
   trunk/babl/babl-cpuaccel.c
   trunk/babl/babl-db.c
   trunk/babl/babl-extension.c
   trunk/babl/babl-fish-path.c
   trunk/babl/babl-fish-reference.c
   trunk/babl/babl-fish-simple.c
   trunk/babl/babl-fish-stats.c
   trunk/babl/babl-fish.c
   trunk/babl/babl-format.c
   trunk/babl/babl-hash-table.c
   trunk/babl/babl-image.c
   trunk/babl/babl-internal.c
   trunk/babl/babl-internal.h
   trunk/babl/babl-introspect.c
   trunk/babl/babl-list.c
   trunk/babl/babl-memory.c
   trunk/babl/babl-model.c
   trunk/babl/babl-sampling.c
   trunk/babl/babl-sanity.c
   trunk/babl/babl-type.c
   trunk/babl/babl-util.c
   trunk/babl/babl-version.c
   trunk/babl/babl.c
   trunk/babl/base/babl-base.c
   trunk/babl/base/formats.c
   trunk/babl/base/model-gray.c
   trunk/babl/base/model-rgb.c
   trunk/babl/base/model-ycbcr.c
   trunk/babl/base/type-float.c
   trunk/babl/base/type-u16.c
   trunk/babl/base/type-u32.c
   trunk/babl/base/type-u8.c
   trunk/babl/gettimeofday.c
   trunk/extensions/CIE-Lab.c
   trunk/extensions/gegl-fixups.c
   trunk/extensions/gggl-lies.c
   trunk/extensions/gggl.c
   trunk/extensions/gimp-8bit.c
   trunk/extensions/naive-CMYK.c
   trunk/extensions/util.h
   trunk/tests/babl-html-dump.c
   trunk/tests/babl_class_name.c
   trunk/tests/babl_fish_path_dhtml.c
   trunk/tests/babl_fish_path_fitness.c
   trunk/tests/conversions.c
   trunk/tests/formats.c
   trunk/tests/grayscale_to_rgb.c
   trunk/tests/introspect.c
   trunk/tests/models.c
   trunk/tests/nop.c
   trunk/tests/rgb_to_bgr.c
   trunk/tests/rgb_to_ycbcr.c
   trunk/tests/sanity.c
   trunk/tests/srgb_to_lab_u8.c
   trunk/tests/types.c

Modified: trunk/babl/babl-component.c
==============================================================================
--- trunk/babl/babl-component.c	(original)
+++ trunk/babl/babl-component.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 #include "babl-db.h"
 #include <string.h>

Modified: trunk/babl/babl-conversion.c
==============================================================================
--- trunk/babl/babl-conversion.c	(original)
+++ trunk/babl/babl-conversion.c	Tue Feb 24 21:17:27 2009
@@ -17,6 +17,7 @@
  */
 
 
+#include "config.h"
 #include <string.h>
 #include <stdarg.h>
 #include <math.h>

Modified: trunk/babl/babl-core.c
==============================================================================
--- trunk/babl/babl-core.c	(original)
+++ trunk/babl/babl-core.c	Tue Feb 24 21:17:27 2009
@@ -15,6 +15,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include "babl-internal.h"
 #include "babl-ids.h"

Modified: trunk/babl/babl-cpuaccel.c
==============================================================================
--- trunk/babl/babl-cpuaccel.c	(original)
+++ trunk/babl/babl-cpuaccel.c	Tue Feb 24 21:17:27 2009
@@ -28,7 +28,6 @@
  */
 
 #include "config.h"
-
 #include <string.h>
 #include <signal.h>
 #include <setjmp.h>

Modified: trunk/babl/babl-db.c
==============================================================================
--- trunk/babl/babl-db.c	(original)
+++ trunk/babl/babl-db.c	Tue Feb 24 21:17:27 2009
@@ -23,6 +23,7 @@
 
 #define _BABL_DB_C
 
+#include "config.h"
 #include <string.h>
 #include "babl-internal.h"
 

Modified: trunk/babl/babl-extension.c
==============================================================================
--- trunk/babl/babl-extension.c	(original)
+++ trunk/babl/babl-extension.c	Tue Feb 24 21:17:27 2009
@@ -18,9 +18,7 @@
 
 #define BABL_DYNAMIC_EXTENSIONS
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #define BABL_PATH              LIBDIR BABL_DIR_SEPARATOR BABL_LIBRARY
 

Modified: trunk/babl/babl-fish-path.c
==============================================================================
--- trunk/babl/babl-fish-path.c	(original)
+++ trunk/babl/babl-fish-path.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <math.h>
 #include "babl-internal.h"
 

Modified: trunk/babl/babl-fish-reference.c
==============================================================================
--- trunk/babl/babl-fish-reference.c	(original)
+++ trunk/babl/babl-fish-reference.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 static Babl *

Modified: trunk/babl/babl-fish-simple.c
==============================================================================
--- trunk/babl/babl-fish-simple.c	(original)
+++ trunk/babl/babl-fish-simple.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 static char *

Modified: trunk/babl/babl-fish-stats.c
==============================================================================
--- trunk/babl/babl-fish-stats.c	(original)
+++ trunk/babl/babl-fish-stats.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 static FILE *output_file = NULL;

Modified: trunk/babl/babl-fish.c
==============================================================================
--- trunk/babl/babl-fish.c	(original)
+++ trunk/babl/babl-fish.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 #include <string.h>
 #include <stdarg.h>

Modified: trunk/babl/babl-format.c
==============================================================================
--- trunk/babl/babl-format.c	(original)
+++ trunk/babl/babl-format.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <stdarg.h>
 #include <math.h>

Modified: trunk/babl/babl-hash-table.c
==============================================================================
--- trunk/babl/babl-hash-table.c	(original)
+++ trunk/babl/babl-hash-table.c	Tue Feb 24 21:17:27 2009
@@ -20,6 +20,7 @@
  * Copyright (C) 2008, Jan Heller
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 #define BABL_HASH_TABLE_INITIAL_MASK   0x7F

Modified: trunk/babl/babl-image.c
==============================================================================
--- trunk/babl/babl-image.c	(original)
+++ trunk/babl/babl-image.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <stdarg.h>
 

Modified: trunk/babl/babl-internal.c
==============================================================================
--- trunk/babl/babl-internal.c	(original)
+++ trunk/babl/babl-internal.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <stdlib.h>
 #include "babl-internal.h"
 

Modified: trunk/babl/babl-internal.h
==============================================================================
--- trunk/babl/babl-internal.h	(original)
+++ trunk/babl/babl-internal.h	Tue Feb 24 21:17:27 2009
@@ -19,6 +19,10 @@
 #ifndef _BABL_INTERNAL_H
 #define _BABL_INTERNAL_H
 
+#ifndef BABL_LIBRARY
+#error "config.h must be included prior to babl-internal.h"
+#endif
+
 #ifdef _BABL_H
 #error babl-internal.h included after babl.h
 #endif
@@ -36,8 +40,6 @@
 #include "babl.h"
 #define _BABL_INTERNAL_H
 
-#include "config.h"
-
 #include "babl-class.h"
 #include "babl-classes.h"
 #include "babl-introspect.h"

Modified: trunk/babl/babl-introspect.c
==============================================================================
--- trunk/babl/babl-introspect.c	(original)
+++ trunk/babl/babl-introspect.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"    /* for babl_log */
 
 #define BABL_LOG

Modified: trunk/babl/babl-list.c
==============================================================================
--- trunk/babl/babl-list.c	(original)
+++ trunk/babl/babl-list.c	Tue Feb 24 21:17:27 2009
@@ -20,6 +20,7 @@
  * Copyright (C) 2008, Jan Heller
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 #define BABL_LIST_INITIAL_SIZE 0x7F

Modified: trunk/babl/babl-memory.c
==============================================================================
--- trunk/babl/babl-memory.c	(original)
+++ trunk/babl/babl-memory.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>

Modified: trunk/babl/babl-model.c
==============================================================================
--- trunk/babl/babl-model.c	(original)
+++ trunk/babl/babl-model.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <stdarg.h>
 #include <math.h>

Modified: trunk/babl/babl-sampling.c
==============================================================================
--- trunk/babl/babl-sampling.c	(original)
+++ trunk/babl/babl-sampling.c	Tue Feb 24 21:17:27 2009
@@ -21,6 +21,7 @@
 #define VERTICAL_MIN      1
 #define VERTICAL_MAX      4
 
+#include "config.h"
 #include "babl-internal.h"
 
 static BablSampling sampling_db[(HORIZONTAL_MAX - HORIZONTAL_MIN + 1) *

Modified: trunk/babl/babl-sanity.c
==============================================================================
--- trunk/babl/babl-sanity.c	(original)
+++ trunk/babl/babl-sanity.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 static int OK;

Modified: trunk/babl/babl-type.c
==============================================================================
--- trunk/babl/babl-type.c	(original)
+++ trunk/babl/babl-type.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <stdarg.h>
 #include <math.h>

Modified: trunk/babl/babl-util.c
==============================================================================
--- trunk/babl/babl-util.c	(original)
+++ trunk/babl/babl-util.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <math.h>
 #include "babl-internal.h"
 

Modified: trunk/babl/babl-version.c
==============================================================================
--- trunk/babl/babl-version.c	(original)
+++ trunk/babl/babl-version.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 

Modified: trunk/babl/babl.c
==============================================================================
--- trunk/babl/babl.c	(original)
+++ trunk/babl/babl.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 static int ref_count = 0;

Modified: trunk/babl/base/babl-base.c
==============================================================================
--- trunk/babl/base/babl-base.c	(original)
+++ trunk/babl/base/babl-base.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-base.h"
 
 extern int babl_hmpf_on_name_lookups;

Modified: trunk/babl/base/formats.c
==============================================================================
--- trunk/babl/base/formats.c	(original)
+++ trunk/babl/base/formats.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <stdlib.h>
 
 #include "babl-classes.h"

Modified: trunk/babl/base/model-gray.c
==============================================================================
--- trunk/babl/base/model-gray.c	(original)
+++ trunk/babl/base/model-gray.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <stdlib.h>
 
 #include "babl-classes.h"

Modified: trunk/babl/base/model-rgb.c
==============================================================================
--- trunk/babl/base/model-rgb.c	(original)
+++ trunk/babl/base/model-rgb.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <stdlib.h>
 #include <math.h>
 

Modified: trunk/babl/base/model-ycbcr.c
==============================================================================
--- trunk/babl/base/model-ycbcr.c	(original)
+++ trunk/babl/base/model-ycbcr.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <math.h>
 #include <assert.h>

Modified: trunk/babl/base/type-float.c
==============================================================================
--- trunk/babl/base/type-float.c	(original)
+++ trunk/babl/base/type-float.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <assert.h>
 

Modified: trunk/babl/base/type-u16.c
==============================================================================
--- trunk/babl/base/type-u16.c	(original)
+++ trunk/babl/base/type-u16.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <stdint.h>
 #include <assert.h>

Modified: trunk/babl/base/type-u32.c
==============================================================================
--- trunk/babl/base/type-u32.c	(original)
+++ trunk/babl/base/type-u32.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <stdint.h>
 #include <assert.h>

Modified: trunk/babl/base/type-u8.c
==============================================================================
--- trunk/babl/base/type-u8.c	(original)
+++ trunk/babl/base/type-u8.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <assert.h>
 #include <stdint.h>

Modified: trunk/babl/gettimeofday.c
==============================================================================
--- trunk/babl/gettimeofday.c	(original)
+++ trunk/babl/gettimeofday.c	Tue Feb 24 21:17:27 2009
@@ -6,6 +6,7 @@
  * By Wu Yongwei
  *
  */
+#include "config.h"
 
 #ifdef _WIN32
 

Modified: trunk/extensions/CIE-Lab.c
==============================================================================
--- trunk/extensions/CIE-Lab.c	(original)
+++ trunk/extensions/CIE-Lab.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <math.h>
 #include <string.h>
 

Modified: trunk/extensions/gegl-fixups.c
==============================================================================
--- trunk/extensions/gegl-fixups.c	(original)
+++ trunk/extensions/gegl-fixups.c	Tue Feb 24 21:17:27 2009
@@ -41,6 +41,7 @@
 
 #include <stdlib.h>
 
+#include "config.h"
 #include "babl.h"
 
 #include "base/util.h"

Modified: trunk/extensions/gggl-lies.c
==============================================================================
--- trunk/extensions/gggl-lies.c	(original)
+++ trunk/extensions/gggl-lies.c	Tue Feb 24 21:17:27 2009
@@ -23,6 +23,7 @@
  *  Copyright 2003, 2004, 2005 Ãyvind KolÃs <pippin gimp org>
  */
 
+#include "config.h"
 #include <math.h>
 #include <string.h>
 

Modified: trunk/extensions/gggl.c
==============================================================================
--- trunk/extensions/gggl.c	(original)
+++ trunk/extensions/gggl.c	Tue Feb 24 21:17:27 2009
@@ -21,6 +21,7 @@
  *  Copyright 2003, 2004, 2005 Ãyvind KolÃs <pippin gimp org>
  */
 
+#include "config.h"
 #include <math.h>
 #include <string.h>
 

Modified: trunk/extensions/gimp-8bit.c
==============================================================================
--- trunk/extensions/gimp-8bit.c	(original)
+++ trunk/extensions/gimp-8bit.c	Tue Feb 24 21:17:27 2009
@@ -19,6 +19,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <stdio.h>
 
 #include "babl.h"

Modified: trunk/extensions/naive-CMYK.c
==============================================================================
--- trunk/extensions/naive-CMYK.c	(original)
+++ trunk/extensions/naive-CMYK.c	Tue Feb 24 21:17:27 2009
@@ -17,7 +17,6 @@
  */
 
 #include "config.h"
-
 #include <math.h>
 #include <string.h>
 

Modified: trunk/extensions/util.h
==============================================================================
--- trunk/extensions/util.h	(original)
+++ trunk/extensions/util.h	Tue Feb 24 21:17:27 2009
@@ -22,7 +22,9 @@
 #include <assert.h>
 #include <math.h>
 
-#include "config.h"
+#ifndef BABL_LIBRARY
+#error "config.h must be included prior to util.h"
+#endif
 
 #ifndef HAVE_RINT
 # define rint(f)  (floor (((double) (f)) + 0.5))

Modified: trunk/tests/babl-html-dump.c
==============================================================================
--- trunk/tests/babl-html-dump.c	(original)
+++ trunk/tests/babl-html-dump.c	Tue Feb 24 21:17:27 2009
@@ -17,6 +17,7 @@
  *
  */
 
+#include "config.h"
 #include "babl-internal.h"    /* needed for babl_log */
 
 static void model_html (Babl *babl);

Modified: trunk/tests/babl_class_name.c
==============================================================================
--- trunk/tests/babl_class_name.c	(original)
+++ trunk/tests/babl_class_name.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <string.h>
 #include <stdio.h>
 #include "babl-internal.h"

Modified: trunk/tests/babl_fish_path_dhtml.c
==============================================================================
--- trunk/tests/babl_fish_path_dhtml.c	(original)
+++ trunk/tests/babl_fish_path_dhtml.c	Tue Feb 24 21:17:27 2009
@@ -1,3 +1,4 @@
+#include "config.h"
 #include <stdlib.h>
 #include "babl-internal.h"
 

Modified: trunk/tests/babl_fish_path_fitness.c
==============================================================================
--- trunk/tests/babl_fish_path_fitness.c	(original)
+++ trunk/tests/babl_fish_path_fitness.c	Tue Feb 24 21:17:27 2009
@@ -1,6 +1,7 @@
 /* perform a symmetricality of conversion test on a set of randomized
  * RGBA data */
 
+#include "config.h"
 #include <stdlib.h>
 #include <math.h>
 #include "babl-internal.h"

Modified: trunk/tests/conversions.c
==============================================================================
--- trunk/tests/conversions.c	(original)
+++ trunk/tests/conversions.c	Tue Feb 24 21:17:27 2009
@@ -1,6 +1,7 @@
 /* perform a symmetricality of conversion test on a set of randomized
  * RGBA data */
 
+#include "config.h"
 #include <stdlib.h>
 #include <math.h>
 #include "babl-internal.h"

Modified: trunk/tests/formats.c
==============================================================================
--- trunk/tests/formats.c	(original)
+++ trunk/tests/formats.c	Tue Feb 24 21:17:27 2009
@@ -1,6 +1,7 @@
 /* perform a symmetricality of conversion test on a set of randomized
  * RGBA data */
 
+#include "config.h"
 #include <stdlib.h>
 #include <math.h>
 #include "babl-internal.h"

Modified: trunk/tests/grayscale_to_rgb.c
==============================================================================
--- trunk/tests/grayscale_to_rgb.c	(original)
+++ trunk/tests/grayscale_to_rgb.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 #define PIXELS    5

Modified: trunk/tests/introspect.c
==============================================================================
--- trunk/tests/introspect.c	(original)
+++ trunk/tests/introspect.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 int

Modified: trunk/tests/models.c
==============================================================================
--- trunk/tests/models.c	(original)
+++ trunk/tests/models.c	Tue Feb 24 21:17:27 2009
@@ -1,6 +1,7 @@
 /* perform a symmetricality of conversion test on a set of randomized
  * RGBA data */
 
+#include "config.h"
 #include <stdlib.h>
 #include <math.h>
 #include "babl-internal.h"

Modified: trunk/tests/nop.c
==============================================================================
--- trunk/tests/nop.c	(original)
+++ trunk/tests/nop.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl.h"
 
 int

Modified: trunk/tests/rgb_to_bgr.c
==============================================================================
--- trunk/tests/rgb_to_bgr.c	(original)
+++ trunk/tests/rgb_to_bgr.c	Tue Feb 24 21:17:27 2009
@@ -17,6 +17,7 @@
  */
 
 
+#include "config.h"
 #include <math.h>
 #include "babl-internal.h"
 

Modified: trunk/tests/rgb_to_ycbcr.c
==============================================================================
--- trunk/tests/rgb_to_ycbcr.c	(original)
+++ trunk/tests/rgb_to_ycbcr.c	Tue Feb 24 21:17:27 2009
@@ -17,6 +17,7 @@
  */
 
 
+#include "config.h"
 #include <math.h>
 #include "babl-internal.h"
 

Modified: trunk/tests/sanity.c
==============================================================================
--- trunk/tests/sanity.c	(original)
+++ trunk/tests/sanity.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include "babl-internal.h"
 
 int

Modified: trunk/tests/srgb_to_lab_u8.c
==============================================================================
--- trunk/tests/srgb_to_lab_u8.c	(original)
+++ trunk/tests/srgb_to_lab_u8.c	Tue Feb 24 21:17:27 2009
@@ -16,6 +16,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h"
 #include <math.h>
 #include "babl-internal.h"
 

Modified: trunk/tests/types.c
==============================================================================
--- trunk/tests/types.c	(original)
+++ trunk/tests/types.c	Tue Feb 24 21:17:27 2009
@@ -1,3 +1,4 @@
+#include "config.h"
 #include <math.h>
 #include "babl-internal.h"
 



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