$NetBSD: patch-gcc_system.h,v 1.1 2017/07/03 17:32:14 ryoon Exp $ --- gcc/system.h.orig 2015-01-05 12:33:28.000000000 +0000 +++ gcc/system.h @@ -44,6 +44,9 @@ along with GCC; see the file COPYING3. #endif #include +#ifdef __cplusplus +# include +#endif /* Define a generic NULL if one hasn't already been defined. */ #ifndef NULL