Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 4292d51b7c4afd89d989995e81883534 > files > 10

bsd-games-2.17-20mdv2008.0.src.rpm

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