void-packages/srcpkgs/bsd-games/patches/stdio.h.diff

16 lines
366 B
Diff
Raw Normal View History

2015-02-21 21:13:42 +01:00
diff -ru a/include/stdio.h b/include/stdio.h
--- a/include/stdio.h 2000-08-04 10:24:39.000000000 +1000
+++ b/include/stdio.h 2005-06-18 14:26:35.000000000 +1000
@@ -34,6 +34,11 @@
2015-02-21 21:13:42 +01:00
#include <bsd-games.h>
#include_next <stdio.h>
+#include <sys/cdefs.h>
2015-02-21 21:13:42 +01:00
+__BEGIN_DECLS
+
#ifndef HAVE_fgetln
extern char *fgetln(FILE *stream, size_t *len);
#endif
+
+__END_DECLS