--- gimp-2.0.3/regexrepl/regex.h.orig	2001-07-11 19:58:38.000000000 -0500
+++ gimp-2.0.3/regexrepl/regex.h	2004-07-29 18:22:48.000000000 -0500
@@ -426,7 +426,7 @@
    unfortunately clutters up the declarations a bit, but I think it's
    worth it.  */
 
-#if __STDC__
+#if defined(__STDC__)
 
 #define _RE_ARGS(args) args
 
--- gimp-2.0.3/regexrepl/regex.c.orig	2001-07-11 19:58:38.000000000 -0500
+++ gimp-2.0.3/regexrepl/regex.c	2004-07-29 18:23:13.000000000 -0500
@@ -215,7 +215,7 @@
    machines, compilers, `char' and `unsigned char' argument types.
    (Per Bothner suggested the basic approach.)  */
 #undef SIGN_EXTEND_CHAR
-#if __STDC__
+#if defined(__STDC__)
 #define SIGN_EXTEND_CHAR(c) ((signed char) (c))
 #else  /* not __STDC__ */
 /* As in Harbison and Steele.  */
