patch-lib_freadahead_c 482 B

123456789101112131415
  1. --- m4-1.4.16.orig/lib/freadahead.c 2011-03-01 17:39:27.000000000 +0100
  2. +++ m4-1.4.16/lib/freadahead.c 2013-09-04 13:53:26.000000000 +0200
  3. @@ -22,6 +22,7 @@
  4. #include <stdlib.h>
  5. #include "stdio-impl.h"
  6. +#ifndef HAVE___FREADAHEAD
  7. size_t
  8. freadahead (FILE *fp)
  9. {
  10. @@ -83,3 +84,4 @@ freadahead (FILE *fp)
  11. #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
  12. #endif
  13. }
  14. +#endif