$OpenBSD: patch-gcc_c-incpath_c,v 1.1.1.1 2006/07/31 09:50:53 espie Exp $
--- gcc/c-incpath.c.orig	Fri May 19 00:16:23 2006
+++ gcc/c-incpath.c	Sun Jul 23 11:26:31 2006
@@ -145,9 +145,9 @@ add_standard_paths (const char *sysroot,
 		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,
 
 	  /* 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);
 	}
