gnu: mpg321: Fix CVE-2019-14247.
[jackhill/guix/guix.git] / gnu / packages / patches / bsd-games-stdio.h.patch
1 diff -ru a/include/stdio.h b/include/stdio.h
2 --- a/include/stdio.h 2000-08-04 10:24:39.000000000 +1000
3 +++ b/include/stdio.h 2005-06-18 14:26:35.000000000 +1000
4 @@ -34,6 +34,10 @@
5 #include <bsd-games.h>
6 #include_next <stdio.h>
7
8 +__BEGIN_DECLS
9 +
10 #ifndef HAVE_fgetln
11 extern char *fgetln(FILE *stream, size_t *len);
12 #endif
13 +
14 +__END_DECLS