> grep -n FILE build/bash-4.0/externs.h
> 200:extern int fpurge __P((FILE *stream));
> 264:extern int sh_setlinebuf __P((FILE *));
>
> bash-4.0/externs.h
>
> needs
>
> #include <stdio.h>
Try the attached patch. Including stdio.h in externs.h is the wrong fix.
Chet