$OpenBSD: patch-gcc_system_h,v 1.1 2018/04/15 23:39:26 jca Exp $

Index: gcc/system.h
--- gcc/system.h.orig
+++ gcc/system.h
@@ -231,6 +231,7 @@ extern int errno;
    file uses a standard library header that includes <cstdlib>, we will get
    an error about 'using std::malloc'.  */
 #ifdef __cplusplus
+#include <new>
 #include <cstdlib>
 #endif
 
