$OpenBSD: patch-gcc_c-incpath_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/c-incpath.c.orig	Fri May 19 00:16:23 2006
+++ gcc/c-incpath.c	Sun Mar 18 23:58:42 2007
@@ -145,9 +145,9 @@ add_standard_paths (const char *sysroot, const char *i
 		continue;
 	      if (!strncmp (p->fname, cpp_GCC_INCLUDE_DIR, len))
 		{
-		  char *str = concat (iprefix, p->fname + len, NULL);
+		  char *str = concat (iprefix, p->fname + len, (void *)0);
 		  if (p->multilib && imultilib)
-		    str = concat (str, dir_separator_str, imultilib, NULL);
+		    str = concat (str, dir_separator_str, imultilib, (void *)0);
 		  add_path (str, SYSTEM, p->cxx_aware, false);
 		}
 	    }
@@ -162,12 +162,12 @@ add_standard_paths (const char *sysroot, const char *i
 
 	  /* Should this directory start with the sysroot?  */
 	  if (sysroot && p->add_sysroot)
-	    str = concat (sysroot, p->fname, NULL);
+	    str = concat (sysroot, p->fname, (void *)0);
 	  else
 	    str = update_path (p->fname, p->component);
 
 	  if (p->multilib && imultilib)
-	    str = concat (str, dir_separator_str, imultilib, NULL);
+	    str = concat (str, dir_separator_str, imultilib, (void *)0);
 
 	  add_path (str, SYSTEM, p->cxx_aware, false);
 	}
