summaryrefslogtreecommitdiff
path: root/package/findutils/patches/patch-gnulib_lib_freadahead_c
blob: d998fbf6c00e2516bcf13d5aa572830b64a56c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- findutils-4.4.2.orig/gnulib/lib/freadahead.c	2009-05-10 23:23:57.000000000 +0200
+++ findutils-4.4.2/gnulib/lib/freadahead.c	2014-03-23 16:27:43.000000000 +0100
@@ -19,6 +19,7 @@
 /* Specification.  */
 #include "freadahead.h"
 
+#ifndef HAVE___FREADAHEAD
 size_t
 freadahead (FILE *fp)
 {
@@ -64,3 +65,4 @@ freadahead (FILE *fp)
  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread on your system, then report this to bug-gnulib."
 #endif
 }
+#endif