pkgsrc/cross/pdp11-aout-gcc/patches/patch-gcc_system.h
2017-07-03 17:32:14 +00:00

14 lines
361 B
C

$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 <stdio.h>
+#ifdef __cplusplus
+# include <cstdio>
+#endif
/* Define a generic NULL if one hasn't already been defined. */
#ifndef NULL