Blame bsd-games-2.17-stdio-c++.patch
|
Michael Thomas |
ac743be |
--- include/stdio.h.orig 2007-01-30 15:53:42.000000000 -0800
|
|
Michael Thomas |
ac743be |
+++ include/stdio.h 2007-01-30 15:54:17.000000000 -0800
|
|
Michael Thomas |
ac743be |
@@ -35,5 +35,11 @@
|
|
Michael Thomas |
ac743be |
#include_next <stdio.h>
|
|
Michael Thomas |
ac743be |
|
|
Michael Thomas |
ac743be |
#ifndef HAVE_fgetln
|
|
Michael Thomas |
ac743be |
+#ifdef __cplusplus
|
|
Michael Thomas |
ac743be |
+extern "C" {
|
|
Michael Thomas |
ac743be |
+#endif
|
|
Michael Thomas |
ac743be |
extern char *fgetln(FILE *stream, size_t *len);
|
|
Michael Thomas |
ac743be |
+#ifdef __cplusplus
|
|
Michael Thomas |
ac743be |
+}
|
|
Michael Thomas |
ac743be |
+#endif
|
|
Michael Thomas |
ac743be |
#endif
|