$NetBSD: patch-fixincludes_inclhack.def,v 1.1 2014/05/31 13:06:25 ryoon Exp $

--- fixincludes/inclhack.def.orig	2013-05-31 11:43:36.000000000 +0000
+++ fixincludes/inclhack.def
@@ -3213,9 +3213,9 @@ fix = {
     mach      = "*-*-solaris2.*";
     files     = complex.h;
     sed	      = "/#if[ \t]*!defined(__cplusplus)/c\\\n"
-    		"#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif";
+    		"#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif\\\n";
     sed	      = "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n"
-		"#ifdef\t__cplusplus\\\n}\\\n#endif";
+		"#ifdef\t__cplusplus\\\n}\\\n#endif\\\n";
     test_text = "#if !defined(__cplusplus)\n"
 		"#endif	/* !defined(__cplusplus) */";
 };
